[compiler-rt] 62b78a0 - [nfc][asan][windows] Fix test after D124057

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 17:10:37 PDT 2022


Author: Vitaly Buka
Date: 2022-04-22T17:10:28-07:00
New Revision: 62b78a063ab1dc6c2df33c7a6582ecc62b31b519

URL: https://github.com/llvm/llvm-project/commit/62b78a063ab1dc6c2df33c7a6582ecc62b31b519
DIFF: https://github.com/llvm/llvm-project/commit/62b78a063ab1dc6c2df33c7a6582ecc62b31b519.diff

LOG: [nfc][asan][windows] Fix test after D124057

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Windows/dll_seh.cpp b/compiler-rt/test/asan/TestCases/Windows/dll_seh.cpp
index 3651463c5e6f0..e6b280517ad35 100644
--- a/compiler-rt/test/asan/TestCases/Windows/dll_seh.cpp
+++ b/compiler-rt/test/asan/TestCases/Windows/dll_seh.cpp
@@ -2,10 +2,10 @@
 //
 // Check both -GS and -GS- builds:
 // RUN: %clang_cl_asan -GS  -LD -Od %s -Fe%t.dll
-// RUN: %run %t %t.dll
+// RUN: %env_asan_opts=detect_stack_use_after_return=0 %run %t %t.dll
 //
 // RUN: %clang_cl_asan -GS- -LD -Od %s -Fe%t.dll
-// RUN: %run %t %t.dll
+// RUN: %env_asan_opts=detect_stack_use_after_return=0 %run %t %t.dll
 
 #include <windows.h>
 #include <assert.h>


        


More information about the llvm-commits mailing list