[compiler-rt] 17600ec - remove windows tests for -asan_use-after-return=always (as this is currently disabled for Windows)

Kevin Athey via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 4 16:59:30 PDT 2021


Author: Kevin Athey
Date: 2021-06-04T16:59:24-07:00
New Revision: 17600ec32a6f3e5720e5232ddb23d67daa650f4d

URL: https://github.com/llvm/llvm-project/commit/17600ec32a6f3e5720e5232ddb23d67daa650f4d
DIFF: https://github.com/llvm/llvm-project/commit/17600ec32a6f3e5720e5232ddb23d67daa650f4d.diff

LOG: remove windows tests for -asan_use-after-return=always (as this is currently disabled for Windows)

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp
    compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp

Removed: 
    


################################################################################
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 9c8095cd5fbc3..3f36fccb0a762 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 <malloc.h>
 

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 bdeba17dd4f5b..9773084f81afa 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;
 


        


More information about the llvm-commits mailing list