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/speculative_load.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/asan/TestCases/speculative_load.cc') diff --git a/test/asan/TestCases/speculative_load.cc b/test/asan/TestCases/speculative_load.cc index 2409d7a5e..fdf70eb39 100644 --- a/test/asan/TestCases/speculative_load.cc +++ b/test/asan/TestCases/speculative_load.cc @@ -27,6 +27,10 @@ struct S { __asan_poison_memory_region(_data._s._ch, 23); } + ~S() { + __asan_unpoison_memory_region(_data._s._ch, 23); + } + bool is_long() const { return _data._s._size & 1; } -- cgit v1.2.3