summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2015-01-22 12:24:21 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2015-01-22 12:24:21 +0000
commitb4b6b74079c49df2b764d4081b5571336593ba2e (patch)
treece10fedd0653f2ea6417eb0c4227e57b70b6f296 /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
parent150d9f3187252d6ca872456684ace1f958440ce1 (diff)
downloadbcm5719-llvm-b4b6b74079c49df2b764d4081b5571336593ba2e.tar.gz
bcm5719-llvm-b4b6b74079c49df2b764d4081b5571336593ba2e.zip
[ASan/Win] Move the shadow to 0x30000000
llvm-svn: 226809
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
index 745c85a98e2..25f1f022c40 100644
--- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -67,7 +67,7 @@ static const uint64_t kMIPS32_ShadowOffset32 = 0x0aaa0000;
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
OpenPOWER on IntegriCloud