diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-11-18 14:54:50 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-11-18 14:54:50 +0000 |
commit | 91dee59b95624ce67c17377ed8b25c575d5ad685 (patch) | |
tree | cca836e0fc8ff5bb4dda35c4106d2ccaa4b20d34 | |
parent | 7214553322c51db3753c8fba0de394b519b7802c (diff) | |
download | compiler-rt-91dee59b95624ce67c17377ed8b25c575d5ad685.tar.gz |
[ASan] Run one of UAS tests in UAR mode as well
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195015 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/asan/lit_tests/TestCases/use-after-scope.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asan/lit_tests/TestCases/use-after-scope.cc b/lib/asan/lit_tests/TestCases/use-after-scope.cc index 4afe0bb2d..c46c9594c 100644 --- a/lib/asan/lit_tests/TestCases/use-after-scope.cc +++ b/lib/asan/lit_tests/TestCases/use-after-scope.cc @@ -1,5 +1,6 @@ // RUN: %clangxx_asan -O0 -fsanitize=use-after-scope %s -o %t && \ -// RUN: not %t 2>&1 | FileCheck %s +// RUN: not %t 2>&1 | FileCheck %s +// RUN: ASAN_OPTIONS="detect_stack_use_after_return=1" not %t 2>&1 | FileCheck %s int main() { int *p = 0; |