[llvm] r221288 - [asan] [mips] changed ShadowOffset32 for systems having 16kb PageSize; patch by Kumar Sukhani

Kostya Serebryany kcc at google.com
Tue Nov 4 11:46:15 PST 2014


Author: kcc
Date: Tue Nov  4 13:46:15 2014
New Revision: 221288

URL: http://llvm.org/viewvc/llvm-project?rev=221288&view=rev
Log:
[asan] [mips] changed ShadowOffset32 for systems having 16kb PageSize; patch by Kumar Sukhani

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp?rev=221288&r1=221287&r2=221288&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp Tue Nov  4 13:46:15 2014
@@ -60,7 +60,7 @@ static const uint64_t kIOSShadowOffset32
 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;
 





More information about the llvm-commits mailing list