[llvm] r278795 - [MemorySanitizer] [MIPS] Changed memory mapping to support pie executable.
Sagar Thakur via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 05:55:39 PDT 2016
Author: slthakur
Date: Tue Aug 16 07:55:38 2016
New Revision: 278795
URL: http://llvm.org/viewvc/llvm-project?rev=278795&view=rev
Log:
[MemorySanitizer] [MIPS] Changed memory mapping to support pie executable.
Reviewed by eugenis
Differential: D22994
Modified:
llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp?rev=278795&r1=278794&r2=278795&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Tue Aug 16 07:55:38 2016
@@ -242,8 +242,8 @@ static const MemoryMapParams Linux_X86_6
// 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
};
More information about the llvm-commits
mailing list