From e1681c941e20af782f5262f28dd6ab459a248e2d Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 30 Jul 2014 03:12:41 +0000 Subject: [PATCH] [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 --- tools/llvm-rtdyld/llvm-rtdyld.cpp | 3 +++ 1 file changed, 3 insertions(+) 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();