llvm-6502/lib/ExecutionEngine
Lang Hames 78906c6555 [RuntimeDyld] Always allocate at least 1 byte for object sections in the JIT to
ensure that section addresses are distinct.

mapSectionAddress will fail if two sections are allocated the same address,
which can happen if any section has zero size (since malloc(0) is implementation
defined). Unfortunately I've been unable to repro this with a simple test case.

Fixes <rdar://problem/20314015>.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234299 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-07 06:27:56 +00:00
..
IntelJITEvents Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
Interpreter Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
MCJIT [MCJIT][Orc] Refactor RTDyldMemoryManager, weave RuntimeDyld::SymbolInfo through 2015-03-30 03:37:06 +00:00
OProfileJIT [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Orc [Orc] Save all the x86-64 GPRs before re-entering the JIT. 2015-04-07 06:12:21 +00:00
RuntimeDyld [RuntimeDyld] Always allocate at least 1 byte for object sections in the JIT to 2015-04-07 06:27:56 +00:00
CMakeLists.txt [ExecutionEngine] Fix dependence issue by moving RTDyldMemoryManager into 2015-02-15 23:22:43 +00:00
EventListenerCommon.h Switch this header file to not hard-code Windows line endings. 2015-01-15 02:21:56 +00:00
ExecutionEngine.cpp [ExecutionEngine] Fix MCJIT::addGlobalMapping. 2015-03-31 20:31:14 +00:00
ExecutionEngineBindings.cpp [C API] Expose LLVMGetGlobalValueAddress and LLVMGetFunctionAddress. 2014-12-22 18:53:11 +00:00
GDBRegistrationListener.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
LLVMBuild.txt [ExecutionEngine] Fix dependence issue by moving RTDyldMemoryManager into 2015-02-15 23:22:43 +00:00
Makefile [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
SectionMemoryManager.cpp [Orc] Move SectionMemoryManager's implementation from MCJIT to ExecutionEngine. 2015-02-06 19:36:40 +00:00
TargetSelect.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00