From 692b01cdac57043f8a69f5943142266a63cb721d Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 2 Nov 2016 15:39:08 +0000 Subject: [asan] Add more dynamic CRT mode tests Only tests using %clang_cl_asan were using the dynamic CRT before this. The unit tests and lit tests using %clangxx_asan were using the static CRT. Many cross-platform tests fail with the dynamic CRT, so I had to add win32-(static|dynamic)-asan lit features. Also deletes some redundant tests in TestCases/Windows that started failing with this switch. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@285821 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/asan/TestCases/use-after-scope-loop-bug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/asan/TestCases/use-after-scope-loop-bug.cc') diff --git a/test/asan/TestCases/use-after-scope-loop-bug.cc b/test/asan/TestCases/use-after-scope-loop-bug.cc index 4f483f204..d4b12eca9 100644 --- a/test/asan/TestCases/use-after-scope-loop-bug.cc +++ b/test/asan/TestCases/use-after-scope-loop-bug.cc @@ -1,7 +1,7 @@ // RUN: %clangxx_asan -O1 -fsanitize-address-use-after-scope %s -o %t && \ // RUN: not %run %t 2>&1 | FileCheck %s -int *p; +volatile int *p; int main() { // Variable goes in and out of scope. -- cgit v1.2.1