From: Sagar Thakur Date: Tue, 16 Aug 2016 12:55:38 +0000 (+0000) Subject: [MemorySanitizer] [MIPS] Changed memory mapping to support pie executable. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e311740bdefd7c9b1e8189c4b517e72919103c13;p=platform%2Fupstream%2Fllvm.git [MemorySanitizer] [MIPS] Changed memory mapping to support pie executable. Reviewed by eugenis Differential: D22994 llvm-svn: 278795 --- diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp index 970f9ab..75e15af 100644 --- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -242,8 +242,8 @@ static const MemoryMapParams Linux_X86_64_MemoryMapParams = { // mips64 Linux static const MemoryMapParams Linux_MIPS64_MemoryMapParams = { - 0x004000000000, // AndMask - 0, // XorMask (not used) + 0, // AndMask (not used) + 0x008000000000, // XorMask 0, // ShadowBase (not used) 0x002000000000, // OriginBase };