llvm-6502/lib/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 [MCJIT] Delete the JTIMemoryManager and associated APIs. 2014-09-23 16:56:02 +00:00
LLVMBuild.txt LLVMBuild.txt: Add missing dependencies. 2014-04-10 11:16:47 +00:00
Makefile MCJIT: Stub out MCJIT implementation, still doesn't do anything useful. 2010-11-17 16:06:43 +00:00
MCJIT.cpp [MCJIT] Make repeat calls to MCJIT::getPointerToFunction for declarations safe. 2014-10-22 23:18:42 +00:00
MCJIT.h [MCJIT] Start Stringref-izing the ExecutionEngine interface. 2014-09-15 17:50:22 +00:00
SectionMemoryManager.cpp Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00