[asan] [mips] changed ShadowOffset32 for systems having 16kb PageSize; patch by Kumar...
authorKostya Serebryany <kcc@google.com>
Tue, 4 Nov 2014 19:46:15 +0000 (19:46 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 4 Nov 2014 19:46:15 +0000 (19:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221288 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/AddressSanitizer.cpp

index e93c011913f88fceff61d12bcedec2f57ab5d8b6..2d5eb0ac4e23b8212edfc8543b66b411fceb5c43 100644 (file)
@@ -60,7 +60,7 @@ static const uint64_t kIOSShadowOffset32 = 1ULL << 30;
 static const uint64_t kDefaultShadowOffset64 = 1ULL << 44;
 static const uint64_t kSmallX86_64ShadowOffset = 0x7FFF8000;  // < 2G.
 static const uint64_t kPPC64_ShadowOffset64 = 1ULL << 41;
-static const uint64_t kMIPS32_ShadowOffset32 = 0x0aaa8000;
+static const uint64_t kMIPS32_ShadowOffset32 = 0x0aaa0000;
 static const uint64_t kFreeBSD_ShadowOffset32 = 1ULL << 30;
 static const uint64_t kFreeBSD_ShadowOffset64 = 1ULL << 46;