]> granicus.if.org Git - clang/commitdiff
disable asan's detect_stack_use_after_return when running CXX/drs/dr4xx.cpp (temporar...
authorKostya Serebryany <kcc@google.com>
Mon, 12 May 2014 07:05:16 +0000 (07:05 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 12 May 2014 07:05:16 +0000 (07:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208521 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/drs/dr4xx.cpp

index 726c67e2da04f8d55aa78f4e66e433fa2c1dbf15..e4757b61fd8effc99f94a533e5e26521c1ba805c 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
-// RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
-// RUN: %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: ASAN_OPTIONS=detect_stack_use_after_return=0 %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
 
 // FIXME: __SIZE_TYPE__ expands to 'long long' on some targets.
 __extension__ typedef __SIZE_TYPE__ size_t;