summaryrefslogtreecommitdiff
path: root/lib/asan/asan_flags.inc
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-08-29 17:16:59 +0000
committerVitaly Buka <vitalybuka@google.com>2016-08-29 17:16:59 +0000
commitbcfcbdc86ef5aad881a04a657a1b4d64f39f6344 (patch)
tree3511669286a9ba95675b20b5b51d75061509600d /lib/asan/asan_flags.inc
parent7dc1023d937fadb8c7f72ded30c2b411634e2008 (diff)
[asan] Remove runtime flag detect_stack_use_after_scope
Summary: We are going to use store instructions to poison some allocas. Runtime flag will require branching in instrumented code on every lifetime intrinsic. We'd like to avoid that. Reviewers: eugenis Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D23967 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@279981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_flags.inc')
-rw-r--r--lib/asan/asan_flags.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/asan/asan_flags.inc b/lib/asan/asan_flags.inc
index 805002a61..9496a4749 100644
--- a/lib/asan/asan_flags.inc
+++ b/lib/asan/asan_flags.inc
@@ -46,8 +46,6 @@ ASAN_FLAG(bool, replace_intrin, true,
"If set, uses custom wrappers for memset/memcpy/memmove intrinsics.")
ASAN_FLAG(bool, detect_stack_use_after_return, false,
"Enables stack-use-after-return checking at run-time.")
-ASAN_FLAG(bool, detect_stack_use_after_scope, true,
- "Enables stack-use-after-scope checking at run-time.")
ASAN_FLAG(int, min_uar_stack_size_log, 16, // We can't do smaller anyway.
"Minimum fake stack size log.")
ASAN_FLAG(int, max_uar_stack_size_log,