commit | 69e813282d4aa078102ce058f8269d0c13260061 | [log] [tgz] |
---|---|---|
author | Jim Grosbach <grosbach@apple.com> | Wed Apr 13 15:28:10 2011 +0000 |
committer | Jim Grosbach <grosbach@apple.com> | Wed Apr 13 15:28:10 2011 +0000 |
tree | 62f0cb772e635a76795cd90b39fa6ddc7e6bcef5 | |
parent | c2475e8ece4adb396ab228c64df995d6def1b7f5 [diff] [blame] |
MCJIT relocation resolution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129445 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/lib/ExecutionEngine/MCJIT/MCJIT.cpp index 148e0d9..024ed90 100644 --- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp +++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -93,6 +93,8 @@ Buffer.size())); if (Dyld.loadObject(MB)) report_fatal_error(Dyld.getErrorString()); + // Resolve any relocations. + Dyld.resolveRelocations(); } MCJIT::~MCJIT() {