diff options
author | Vitaly Buka <vitalybuka@google.com> | 2016-08-29 19:28:34 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2016-08-29 19:28:34 +0000 |
commit | 3c4f6bf654b3b9308f9d805d5ae7b3b4ad20f63d (patch) | |
tree | 8d0680191128968dbfe0662da7a942f4670abc1e /llvm/lib/Transforms | |
parent | ac5148ef41f0bd9ae6d1f18d0f82398162086378 (diff) | |
download | bcm5719-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')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | 2 |
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, |