summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
diff options
context:
space:
mode:
authorSagar Thakur <sagar.thakur@imgtec.com>2016-08-16 12:55:38 +0000
committerSagar Thakur <sagar.thakur@imgtec.com>2016-08-16 12:55:38 +0000
commite311740bdefd7c9b1e8189c4b517e72919103c13 (patch)
tree05692262f78685d0ff6c46c00275218c94ec3a50 /llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
parentcc316f013a72e49ec97ad7f50164be88f611b941 (diff)
downloadbcm5719-llvm-e311740bdefd7c9b1e8189c4b517e72919103c13.tar.gz
bcm5719-llvm-e311740bdefd7c9b1e8189c4b517e72919103c13.zip
[MemorySanitizer] [MIPS] Changed memory mapping to support pie executable.
Reviewed by eugenis Differential: D22994 llvm-svn: 278795
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index 970f9ab86e8..75e15af202c 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
};
OpenPOWER on IntegriCloud