diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-04-08 17:31:24 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-04-08 17:31:24 +0000 |
commit | b027105fa50c864d44873dc78daafb3db3ec9c14 (patch) | |
tree | 921424701f964bbe027bef5b1b698d8945c1698d /tools/llvm-rtdyld | |
parent | 084b5df5aedc83af0588ae8c2145e4f98faf1d8f (diff) |
Refactor MCJIT 32-bit section loading.
Teach 32-bit section loading to use the Memory Manager interface, just like
the 64-bit loading does. Tidy up a few other things here and there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-rtdyld')
-rw-r--r-- | tools/llvm-rtdyld/llvm-rtdyld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-rtdyld/llvm-rtdyld.cpp b/tools/llvm-rtdyld/llvm-rtdyld.cpp index ddd6683a2f..c2f1c3c48d 100644 --- a/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/tools/llvm-rtdyld/llvm-rtdyld.cpp @@ -82,7 +82,7 @@ static int executeInput() { } // Get the address of "_main". - uint64_t MainAddress = Dyld.getSymbolAddress("_main"); + void *MainAddress = Dyld.getSymbolAddress("_main"); if (MainAddress == 0) return Error("no definition for '_main'"); |