Library-ize the dyld components of llvm-rtdyld.
authorJim Grosbach <grosbach@apple.com>
Mon, 21 Mar 2011 22:15:52 +0000 (22:15 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 21 Mar 2011 22:15:52 +0000 (22:15 +0000)
commit6e56331ed99e5b96de940dfdc53e438eef521a2e
tree119dac47b658037637552736c9b634eaa2dcb3ba
parentb99462117ebd4be41788346246d7935fc90a11ee
Library-ize the dyld components of llvm-rtdyld.

Move the dynamic linking functionality of the llvm-rtdyld program into an
ExecutionEngine support library. Update llvm-rtdyld to just load an object
file into memory, use the library to process it, then run the _main()
function, if one is found.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128031 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/RuntimeDyld.h [new file with mode: 0644]
lib/ExecutionEngine/Makefile
lib/ExecutionEngine/RuntimeDyld/CMakeLists.txt [new file with mode: 0644]
lib/ExecutionEngine/RuntimeDyld/Makefile [new file with mode: 0644]
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp [new file with mode: 0644]
tools/llvm-rtdyld/Makefile
tools/llvm-rtdyld/llvm-rtdyld.cpp