[PATCH] D22994: [MemorySanitizer] [MIPS] Changed memory mapping to support pie executable.
Sagar Thakur via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 5 06:17:49 PDT 2016
slthakur updated this revision to Diff 66938.
slthakur added a comment.
Changed mapping in patch https://reviews.llvm.org/D22993
Repository:
rL LLVM
https://reviews.llvm.org/D22994
Files:
lib/Transforms/Instrumentation/MemorySanitizer.cpp
Index: lib/Transforms/Instrumentation/MemorySanitizer.cpp
===================================================================
--- lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -242,10 +242,10 @@
// mips64 Linux
static const MemoryMapParams Linux_MIPS64_MemoryMapParams = {
- 0x004000000000, // AndMask
- 0, // XorMask (not used)
+ 0, // AndMask (not used)
+ 0x002000000000, // XorMask
0, // ShadowBase (not used)
- 0x002000000000, // OriginBase
+ 0x001000000000, // OriginBase
};
// ppc64 Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22994.66938.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160805/953cf83b/attachment.bin>
More information about the llvm-commits
mailing list