[llvm-commits] [llvm] r129445 - /llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp
Jim Grosbach
grosbach at apple.com
Wed Apr 13 08:28:10 PDT 2011
Author: grosbach
Date: Wed Apr 13 10:28:10 2011
New Revision: 129445
URL: http://llvm.org/viewvc/llvm-project?rev=129445&view=rev
Log:
MCJIT relocation resolution.
Modified:
llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp
Modified: llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp?rev=129445&r1=129444&r2=129445&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/MCJIT/MCJIT.cpp Wed Apr 13 10:28:10 2011
@@ -93,6 +93,8 @@
Buffer.size()));
if (Dyld.loadObject(MB))
report_fatal_error(Dyld.getErrorString());
+ // Resolve any relocations.
+ Dyld.resolveRelocations();
}
MCJIT::~MCJIT() {
More information about the llvm-commits
mailing list