From 375385fed613a594406d6f62e9e605229e34ca4d 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. llvm-svn: 214282 --- llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp index 5cea4658363f..f0c365dd4810 100644 --- a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/llvm/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();