llvm-6502/unittests/ExecutionEngine/MCJIT
Lang Hames 950c6482c6 [MCJIT] Make repeat calls to MCJIT::getPointerToFunction for declarations safe.
MCJIT::getPointerForFunction adds the resulting address to the global mapping.
This should be done via updateGlobalMapping rather than addGlobalMapping, since
the latter asserts if a mapping already exists.

MCJIT::getPointerToFunction is actually deprecated - hopefully we can remove it
(or more likely re-task it) entirely soon. In the mean time it should at least
work as advertised.

<rdar://problem/18727946>



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220444 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-22 23:18:42 +00:00
..
CMakeLists.txt Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
Makefile Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MCJITCAPITest.cpp ADT: remove MinGW32 and Cygwin OSType enum 2014-08-09 23:12:20 +00:00
MCJITMemoryManagerTest.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MCJITMultipleModuleTest.cpp Make it explicit that ExecutionEngine takes ownership of the modules. 2014-08-19 04:04:25 +00:00
MCJITObjectCacheTest.cpp Adds 'override' to overriding methods. NFC. 2014-10-01 21:00:44 +00:00
MCJITTest.cpp [MCJIT] Make repeat calls to MCJIT::getPointerToFunction for declarations safe. 2014-10-22 23:18:42 +00:00
MCJITTestAPICommon.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
MCJITTestBase.h [MCJIT] Make repeat calls to MCJIT::getPointerToFunction for declarations safe. 2014-10-22 23:18:42 +00:00
MCJITTests.def