From: Lang Hames Date: Wed, 30 Jul 2014 03:12:41 +0000 (+0000) Subject: [MCJIT] Actually remap sections based llvm-rtdyld options added in r214255. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1681c941e20af782f5262f28dd6ab459a248e2d;p=llvm [MCJIT] Actually remap sections based llvm-rtdyld options added in r214255. 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 --- diff --git a/tools/llvm-rtdyld/llvm-rtdyld.cpp b/tools/llvm-rtdyld/llvm-rtdyld.cpp index 5cea4658363..f0c365dd481 100644 --- a/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/tools/llvm-rtdyld/llvm-rtdyld.cpp @@ -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();