[MCJIT] Actually remap sections based llvm-rtdyld options added in r214255.
authorLang Hames <lhames@gmail.com>
Wed, 30 Jul 2014 03:12:41 +0000 (03:12 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 30 Jul 2014 03:12:41 +0000 (03:12 +0000)
This line was accidentally left out of that patch.

llvm-svn: 214282

llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp

index 5cea465..f0c365d 100644 (file)
@@ -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();