llvm-6502/lib/ExecutionEngine/RuntimeDyld
Andrew Kaylor 28989889bf Add a method to indicate section address re-assignment is finished.
Prior to this patch RuntimeDyld attempted to re-apply relocations every time reassignSectionAddress was called (via MCJIT::mapSectionAddress).  In addition to being inefficient and redundant, this led to a problem when a section was temporarily moved too far away from another section with a relative relocation referencing the section being moved.  To fix this, I'm adding a new method (finalizeObject) which the client can call to indicate that it is finished rearranging section addresses so the relocations can safely be applied.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167400 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-05 20:57:16 +00:00
..
CMakeLists.txt
GDBRegistrar.cpp Clean-up of memory buffer and object ownership model in MCJIT 2012-10-02 21:18:39 +00:00
JITRegistrar.h Clean-up of memory buffer and object ownership model in MCJIT 2012-10-02 21:18:39 +00:00
LLVMBuild.txt
Makefile
ObjectImageCommon.h Clean-up of memory buffer and object ownership model in MCJIT 2012-10-02 21:18:39 +00:00
RuntimeDyld.cpp Add a method to indicate section address re-assignment is finished. 2012-11-05 20:57:16 +00:00
RuntimeDyldELF.cpp Change resolveRelocation parameters so the relocations can find placeholder values in the original object buffer. 2012-11-02 19:45:23 +00:00
RuntimeDyldELF.h Change resolveRelocation parameters so the relocations can find placeholder values in the original object buffer. 2012-11-02 19:45:23 +00:00
RuntimeDyldImpl.h Change resolveRelocation parameters so the relocations can find placeholder values in the original object buffer. 2012-11-02 19:45:23 +00:00
RuntimeDyldMachO.cpp Change resolveRelocation parameters so the relocations can find placeholder values in the original object buffer. 2012-11-02 19:45:23 +00:00
RuntimeDyldMachO.h Change resolveRelocation parameters so the relocations can find placeholder values in the original object buffer. 2012-11-02 19:45:23 +00:00