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: http://review.tizen.org/git/?a=commitdiff_plain;h=375385fed613a594406d6f62e9e605229e34ca4d;p=platform%2Fupstream%2Fllvm.git [MCJIT] Actually remap sections based llvm-rtdyld options added in r214255. This line was accidentally left out of that patch. llvm-svn: 214282 --- diff --git a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp index 5cea465..f0c365d 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();