[PATCH] Make ExecutionEngine::getPointerToGlobal understand GlobalAlias

Lang Hames lhames at gmail.com
Wed Jul 23 12:12:01 PDT 2014


Hi Yaron,

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. 

Cheers,
Lang.

http://reviews.llvm.org/D4245






More information about the llvm-commits mailing list