llvm-6502/lib/ExecutionEngine
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
..
IntelJITEvents IntelJITEventListener updates to fix breaks by recent changes to EngineBuilder and DIContext. 2014-08-21 07:01:55 +00:00
Interpreter Converting FuncNames to a ManagedStatic to avoid static constructors and destructors. 2014-09-19 21:07:01 +00:00
MCJIT [MCJIT] Make repeat calls to MCJIT::getPointerToFunction for declarations safe. 2014-10-22 23:18:42 +00:00
OProfileJIT
RuntimeDyld [MCJIT] Defer application of AArch64 MachO GOT relocations until resolve time. 2014-10-21 23:41:15 +00:00
CMakeLists.txt [JIT] Add an out-of-line definition for the virtual destructor in 2014-09-03 20:39:10 +00:00
EventListenerCommon.h
ExecutionEngine.cpp IR: Replace DataLayout::RoundUpAlignment with RoundUpToAlignment 2014-10-20 06:13:33 +00:00
ExecutionEngineBindings.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
JITEventListener.cpp [JIT] Add an out-of-line definition for the virtual destructor in 2014-09-03 20:39:10 +00:00
LLVMBuild.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
RTDyldMemoryManager.cpp [MCJIT] Turn the getSymbolAddress free function created in r218626 into a static 2014-10-01 04:11:13 +00:00
TargetSelect.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00