diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-03-18 17:11:39 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-03-18 17:11:39 +0000 |
commit | 1cb19a4470533be84eb61e8f5fc40aa9d45f86f9 (patch) | |
tree | 247a074ed1ba65138f012a7c59a804a00da3c648 /tools/llvm-rtdyld/CMakeLists.txt | |
parent | 5fd5b125ff41088c005b7107e8cf92f281313040 (diff) | |
download | llvm-1cb19a4470533be84eb61e8f5fc40aa9d45f86f9.tar.gz llvm-1cb19a4470533be84eb61e8f5fc40aa9d45f86f9.tar.bz2 llvm-1cb19a4470533be84eb61e8f5fc40aa9d45f86f9.tar.xz |
MachO file loader and execution utility.
Add a bone-simple utility to load a MachO object into memory, look for
a function (main) in it, and run that function directly. This will be used
as a test and development platform for MC-JIT work regarding symbol resolution,
dynamic lookup, etc..
Code by Daniel Dunbar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-rtdyld/CMakeLists.txt')
-rw-r--r-- | tools/llvm-rtdyld/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/llvm-rtdyld/CMakeLists.txt b/tools/llvm-rtdyld/CMakeLists.txt new file mode 100644 index 0000000000..320bb5f0a5 --- /dev/null +++ b/tools/llvm-rtdyld/CMakeLists.txt @@ -0,0 +1,5 @@ +set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} support MC) + +add_llvm_tool(llvm-rtdyld + llvm-rtdyld.cpp + ) |