[PATCH] Make ExecutionEngine::getPointerToGlobal understand GlobalAlias
lhames at gmail.com
Wed Jul 23 12:12:01 PDT 2014
This looks good to me, but Dave is right that a test case would be nice.
How did you compile that C++ code to IR, and how did you invoke the JIT?
While %lli_mcjit will run MCJIT, I believe that a vanilla lli call will use the old JIT, which should allow us to test this. If more infrastructure is needed to test this I'm happy to look in to adding it.
More information about the llvm-commits