llvm-6502/lib/ExecutionEngine
Lang Hames 41367e252a [Orc] Make OrcMCJITReplacement::addObject calls transfer buffer ownership to the
ObjectLinkingLayer.

There are a two of overloads for addObject, one of which transfers ownership of
the underlying buffer to OrcMCJITReplacement. This commit makes the ownership
transfering version pass ownership down to the ObjectLinkingLayer in order to
prevent the issue described in r227778.

I think this commit will fix the sanitizer bot failures that necessitated the
removal of the load-object-a.ll regression test in r227785, so I'm reinstating
that test.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227845 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-02 19:51:18 +00:00
..
IntelJITEvents Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
Interpreter Converting FuncNames to a ManagedStatic to avoid static constructors and destructors. 2014-09-19 21:07:01 +00:00
MCJIT [ExecutionEngine] FindFunctionNamed: Skip declarations 2015-01-27 19:29:00 +00:00
OProfileJIT [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Orc [Orc] Make OrcMCJITReplacement::addObject calls transfer buffer ownership to the 2015-02-02 19:51:18 +00:00
RuntimeDyld Revert r227247 and r227228: "Add weak symbol support to RuntimeDyld". 2015-01-28 01:30:37 +00:00
CMakeLists.txt [Orc] New JIT APIs. 2015-01-23 21:25:00 +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] FindFunctionNamed: Skip declarations 2015-01-27 19:29:00 +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 [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
Makefile [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
RTDyldMemoryManager.cpp RTDyldMemoryManager.cpp: Make the reference to __morestack weak. 2014-12-30 22:52:33 +00:00
TargetSelect.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00