[MCJIT] Fix PR20656 by teaching MCJIT to honor ExecutionEngine's global mapping.
authorLang Hames <lhames@gmail.com>
Wed, 29 Jul 2015 23:12:33 +0000 (23:12 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 29 Jul 2015 23:12:33 +0000 (23:12 +0000)
commit7fe19725001547077aa737d1018a90207432acce
tree70beae10da2c1655553efdfb39d15708c1c5895a
parent6fc1adf9c7a89537cbceae619981f072f0055f23
[MCJIT] Fix PR20656 by teaching MCJIT to honor ExecutionEngine's global mapping.

This is important for users of the C API who can't supply custom symbol
resolvers yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243589 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/ExecutionEngine.cpp
lib/ExecutionEngine/MCJIT/MCJIT.cpp
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp