[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214282 91177308-0d34-0410-b5e6-96231b3b80d8

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();