Basic runtime dynamic loading capabilities added to ELFObjectFile, implemented
authorEli Bendersky <eli.bendersky@intel.com>
Sun, 22 Jan 2012 09:01:03 +0000 (09:01 +0000)
committerEli Bendersky <eli.bendersky@intel.com>
Sun, 22 Jan 2012 09:01:03 +0000 (09:01 +0000)
commit24973c1063bfb7ac353732a4e8eb801830336c5f
treea88cf6f0f24e0cac2b40062ec74ef433932958a0
parent76463fdeb603e1d89b05f094bfd6fe73b90d0b61
Basic runtime dynamic loading capabilities added to ELFObjectFile, implemented
in a subclass named DyldELFObject. This class supports rebasing the object file
it represents by re-mapping section addresses to the actual memory addresses
the object was placed in. This is required for MC-JIT implementation on ELF with
debugging support.

Patch reviewed on llvm-commits.

Developed together with Ashok Thirumurthi and Andrew Kaylor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148653 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ObjectFile.h
include/llvm/Support/Endian.h
lib/Object/ELFObjectFile.cpp