summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-08-29 19:28:34 +0000
committerVitaly Buka <vitalybuka@google.com>2016-08-29 19:28:34 +0000
commit3c4f6bf654b3b9308f9d805d5ae7b3b4ad20f63d (patch)
tree8d0680191128968dbfe0662da7a942f4670abc1e /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
parentac5148ef41f0bd9ae6d1f18d0f82398162086378 (diff)
downloadbcm5719-llvm-3c4f6bf654b3b9308f9d805d5ae7b3b4ad20f63d.tar.gz
bcm5719-llvm-3c4f6bf654b3b9308f9d805d5ae7b3b4ad20f63d.zip
[asan] Enable new stack poisoning with store instruction by default
Reviewers: eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23968 llvm-svn: 279993
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 31cf273d051..dfdcd1122da 100644
--- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -182,7 +182,7 @@ static cl::opt<bool> ClUseAfterScope("asan-use-after-scope",
static cl::opt<bool> ClExperimentalPoisoning(
"asan-experimental-poisoning",
cl::desc("Enable experimental red zones and scope poisoning"), cl::Hidden,
- cl::init(false));
+ cl::init(true));
// This flag may need to be replaced with -f[no]asan-globals.
static cl::opt<bool> ClGlobals("asan-globals",
cl::desc("Handle global objects"), cl::Hidden,
OpenPOWER on IntegriCloud