[compiler-rt] 534a873 - [test][asan] Fix the test checks

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 3 10:55:29 PDT 2024


Author: Vitaly Buka
Date: 2024-08-03T10:52:26-07:00
New Revision: 534a87301b82f8d914087a848a2e88b897c24644

URL: https://github.com/llvm/llvm-project/commit/534a87301b82f8d914087a848a2e88b897c24644
DIFF: https://github.com/llvm/llvm-project/commit/534a87301b82f8d914087a848a2e88b897c24644.diff

LOG: [test][asan] Fix the test checks

The test is intended to check the order of modules
in DynInitPoison, only relative to
DynInitUnpoison.

Folloup to #101584

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/initialization-nobug.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/initialization-nobug.cpp b/compiler-rt/test/asan/TestCases/initialization-nobug.cpp
index 5659db088096b..d75f002866235 100644
--- a/compiler-rt/test/asan/TestCases/initialization-nobug.cpp
+++ b/compiler-rt/test/asan/TestCases/initialization-nobug.cpp
@@ -43,7 +43,7 @@ int getStructWithDtorValue() { return struct_with_dtor.value; }
 
 int main() { return 0; }
 
-// CHECK: DynInitPoison module: {{.*}}initialization-nobug.cpp
+// CHECK: DynInitPoison
 // CHECK: DynInitUnpoison
-// CHECK: DynInitPoison module: {{.*}}initialization-nobug-extra.cpp
+// CHECK: DynInitPoison
 // CHECK: DynInitUnpoison


        


More information about the llvm-commits mailing list