[llvm] r226809 - [ASan/Win] Move the shadow to 0x30000000
Timur Iskhodzhanov
timurrrr at google.com
Thu Jan 22 04:24:21 PST 2015
Author: timurrrr
Date: Thu Jan 22 06:24:21 2015
New Revision: 226809
URL: http://llvm.org/viewvc/llvm-project?rev=226809&view=rev
Log:
[ASan/Win] Move the shadow to 0x30000000
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=226809&r1=226808&r2=226809&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp Thu Jan 22 06:24:21 2015
@@ -67,7 +67,7 @@ static const uint64_t kMIPS32_ShadowOffs
static const uint64_t kMIPS64_ShadowOffset64 = 1ULL << 36;
static const uint64_t kFreeBSD_ShadowOffset32 = 1ULL << 30;
static const uint64_t kFreeBSD_ShadowOffset64 = 1ULL << 46;
-static const uint64_t kWindowsShadowOffset32 = 1ULL << 30;
+static const uint64_t kWindowsShadowOffset32 = 3ULL << 28;
static const size_t kMinStackMallocSize = 1 << 6; // 64B
static const size_t kMaxStackMallocSize = 1 << 16; // 64K
More information about the llvm-commits
mailing list