diff options
author | Kostya Serebryany <kcc@google.com> | 2013-09-18 10:35:12 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-09-18 10:35:12 +0000 |
commit | 230e52f4e91b53f05ce19dbbf11047f4a0113483 (patch) | |
tree | 192044531c0e867be0744c13956acaf3aafbdd89 /lib/asan/lit_tests | |
parent | 608609429a2202e0342c13bc037368c8d678591c (diff) | |
download | compiler-rt-230e52f4e91b53f05ce19dbbf11047f4a0113483.tar.gz compiler-rt-230e52f4e91b53f05ce19dbbf11047f4a0113483.tar.bz2 compiler-rt-230e52f4e91b53f05ce19dbbf11047f4a0113483.tar.xz |
[asan] add a run-time option detect_stack_use_after_return, add verbosity output for fake stack
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/lit_tests')
-rw-r--r-- | lib/asan/lit_tests/TestCases/stack-use-after-return.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asan/lit_tests/TestCases/stack-use-after-return.cc b/lib/asan/lit_tests/TestCases/stack-use-after-return.cc index 79dd72c6..09071b19 100644 --- a/lib/asan/lit_tests/TestCases/stack-use-after-return.cc +++ b/lib/asan/lit_tests/TestCases/stack-use-after-return.cc @@ -6,6 +6,7 @@ // RUN: not %t 2>&1 | FileCheck %s // RUN: %clangxx_asan -fsanitize=use-after-return -O3 %s -o %t && \ // RUN: not %t 2>&1 | FileCheck %s +// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %t // Regression test for a CHECK failure with small stack size and large frame. // RUN: %clangxx_asan -fsanitize=use-after-return -O3 %s -o %t -DkSize=10000 && \ // RUN: (ulimit -s 65; not %t) 2>&1 | FileCheck %s |