[PATCH] Make ExecutionEngine::getPointerToGlobal understand GlobalAlias

Yaron Keren yaron.keren at gmail.com
Wed Jul 23 01:15:13 PDT 2014


David, sorry for the late response, I had not seen an e-mail update from Phab, probably due to the e-mail problems it had.

I have a test case (code above) but can't run it with lit since lit knows how to run under mcjit (%lli_mcjit) but not under jit. We would have to teach lli to use the jit just to test this.

Anyhow, while I encuntered the problem using the JIT, the patch teaches ExecutionEngine::getPointerToGlobal to handle GlobalAlias and is not really JIT specific.

http://reviews.llvm.org/D4245






More information about the llvm-commits mailing list