]> granicus.if.org Git - llvm/commit
This patch improves the MCJIT runtime dynamic loader by adding new handling
authorPreston Gurd <preston.gurd@intel.com>
Thu, 12 Apr 2012 20:13:57 +0000 (20:13 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Thu, 12 Apr 2012 20:13:57 +0000 (20:13 +0000)
commitc68dda815e64fb2fb463318d1eaa304e22199d50
tree10f153529980e0bb8b0b15da7b9daddf04cb8d44
parentf0bcecc0d59455add4367204a198949d807fe1da
This patch improves the MCJIT runtime dynamic loader by adding new handling
of zero-initialized sections, virtual sections and common symbols
and preventing the loading of sections which are not required for
execution such as debug information.

Patch by Andy Kaylor!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154610 91177308-0d34-0410-b5e6-96231b3b80d8
28 files changed:
include/llvm/Object/COFF.h
include/llvm/Object/ELF.h
include/llvm/Object/MachO.h
include/llvm/Object/ObjectFile.h
lib/ExecutionEngine/MCJIT/MCJIT.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
lib/Object/COFFObjectFile.cpp
lib/Object/MachOObjectFile.cpp
test/ExecutionEngine/2002-12-16-ArgTest.ll
test/ExecutionEngine/2003-01-04-ArgumentBug.ll
test/ExecutionEngine/2003-01-04-LoopTest.ll
test/ExecutionEngine/2003-05-06-LivenessClobber.ll
test/ExecutionEngine/2003-05-07-ArgumentTest.ll
test/ExecutionEngine/2003-08-21-EnvironmentTest.ll
test/ExecutionEngine/2005-12-02-TailCallBug.ll
test/ExecutionEngine/hello.ll
test/ExecutionEngine/hello2.ll
test/ExecutionEngine/stubs.ll
test/ExecutionEngine/test-call-no-external-funcs.ll
test/ExecutionEngine/test-call.ll
test/ExecutionEngine/test-common-symbols.ll
test/ExecutionEngine/test-fp-no-external-funcs.ll
test/ExecutionEngine/test-fp.ll
test/ExecutionEngine/test-global-init-nonzero.ll
test/ExecutionEngine/test-global.ll
test/ExecutionEngine/test-loadstore.ll