From: Kevin Athey Date: Fri, 4 Jun 2021 23:58:39 +0000 (-0700) Subject: remove windows tests for -asan_use-after-return=always (as this is currently disabled... X-Git-Tag: llvmorg-14-init~4801 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17600ec32a6f3e5720e5232ddb23d67daa650f4d;p=platform%2Fupstream%2Fllvm.git remove windows tests for -asan_use-after-return=always (as this is currently disabled for Windows) --- diff --git a/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp b/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp index 9c8095c..3f36fcc 100644 --- a/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp +++ b/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp @@ -1,8 +1,6 @@ // RUN: %clang_cl_asan -Od %p/dll_host.cpp -Fe%t // RUN: %clang_cl_asan -LD -Od %s -Fe%t.dll // RUN: %env_asan_opts=detect_stack_use_after_return=1 not %run %t %t.dll 2>&1 | FileCheck %s -// RUN: %clang_cl_asan -LD -Od %s -Fe%t.dll -mllvm -asan-use-after-return=always -// RUN: not %run %t %t.dll 2>&1 | FileCheck %s #include diff --git a/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp b/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp index bdeba17..9773084 100644 --- a/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp +++ b/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp @@ -1,7 +1,5 @@ // RUN: %clang_cl_asan -Od %s -Fe%t // RUN: %env_asan_opts=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck %s -// RUN: %clang_cl_asan -Od %s -Fe%t -mllvm -asan-use-after-return=always -// RUN: not %run %t 2>&1 | FileCheck %s char *x;