[PATCH] D22994: [MemorySanitizer] [MIPS] Changed memory mapping to support pie executable.

Sagar Thakur via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 05:54:02 PDT 2016


slthakur updated this revision to Diff 68167.
slthakur added a comment.

Changed mapping according to 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,8 +242,8 @@
 
 // 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
 };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22994.68167.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160816/b6e8a386/attachment.bin>


More information about the llvm-commits mailing list