[llvm] r214282 - [MCJIT] Actually remap sections based llvm-rtdyld options added in r214255.

Lang Hames lhames at gmail.com
Tue Jul 29 20:12:41 PDT 2014


Author: lhames
Date: Tue Jul 29 22:12:41 2014
New Revision: 214282

URL: http://llvm.org/viewvc/llvm-project?rev=214282&view=rev
Log:
[MCJIT] Actually remap sections based llvm-rtdyld options added in r214255.

This line was accidentally left out of that patch.


Modified:
    llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp

Modified: llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp?rev=214282&r1=214281&r2=214282&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp (original)
+++ llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp Tue Jul 29 22:12:41 2014
@@ -433,6 +433,9 @@ static int linkAndVerify() {
     }
   }
 
+  // Re-map the section addresses into the phony target address space.
+  remapSections(TheTriple, MemMgr, Dyld);
+
   // Resolve all the relocations we can.
   Dyld.resolveRelocations();
 





More information about the llvm-commits mailing list