[compiler-rt] r195015 - [ASan] Run one of UAS tests in UAR mode as well

Alexey Samsonov samsonov at google.com
Mon Nov 18 06:54:51 PST 2013


Author: samsonov
Date: Mon Nov 18 08:54:50 2013
New Revision: 195015

URL: http://llvm.org/viewvc/llvm-project?rev=195015&view=rev
Log:
[ASan] Run one of UAS tests in UAR mode as well

Modified:
    compiler-rt/trunk/lib/asan/lit_tests/TestCases/use-after-scope.cc

Modified: compiler-rt/trunk/lib/asan/lit_tests/TestCases/use-after-scope.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/TestCases/use-after-scope.cc?rev=195015&r1=195014&r2=195015&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/TestCases/use-after-scope.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/TestCases/use-after-scope.cc Mon Nov 18 08:54:50 2013
@@ -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;





More information about the llvm-commits mailing list