Author: Mitch Phillips
Date: 2022-06-13T14:23:23-07:00
New Revision: 2a5d567041565a2c6b8bc8aa7845ad176dbf5d54

URL: 
https://github.com/llvm/llvm-project/commit/2a5d567041565a2c6b8bc8aa7845ad176dbf5d54
DIFF: 
https://github.com/llvm/llvm-project/commit/2a5d567041565a2c6b8bc8aa7845ad176dbf5d54.diff

LOG: Fix-forward broken ASan test on Windows.

Hopefully the final whack-a-mole.

Relevant differential revision: https://reviews.llvm.org/D126929

Added: 
    

Modified: 
    clang/test/CodeGen/sanitize-init-order.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/sanitize-init-order.cpp 
b/clang/test/CodeGen/sanitize-init-order.cpp
index f3cc2c3387969..dd7e3c5b4b124 100644
--- a/clang/test/CodeGen/sanitize-init-order.cpp
+++ b/clang/test/CodeGen/sanitize-init-order.cpp
@@ -37,11 +37,11 @@ const volatile PODWithCtor array[5][5];
 // Check that ASan init-order checking ignores structs with trivial default
 // constructor.
 
-// CHECK: @s1 ={{.*}} global
+// CHECK: @{{.*}}s1{{.*}} ={{.*}} global
 // CHECK-NOT: sanitize_address_dyninit
-// CHECK: @s2 ={{.*}} global
+// CHECK: @{{.*}}s2{{.*}} ={{.*}} global
 // CHECK-NOT: sanitize_address_dyninit
-// CHECK: @s3 ={{.*}} global {{.*}}, sanitize_address_dyninit
+// CHECK: @{{.*}}s3{{.*}} ={{.*}} global {{.*}}, sanitize_address_dyninit
 // CHECK: @{{.*}}array{{.*}} ={{.*}} global {{.*}}, sanitize_address_dyninit
 
 // CHECK: !llvm.asan.globals = !{![[GLOB_1:[0-9]+]], ![[GLOB_2:[0-9]+]], 
![[GLOB_3:[0-9]+]], ![[GLOB_4:[0-9]+]]
@@ -50,11 +50,11 @@ const volatile PODWithCtor array[5][5];
 // CHECK: ![[GLOB_3]] = !{%struct.PODWithCtorAndDtor* {{.*}}, i1 true, i1 
false}
 // CHECK: ![[GLOB_4]] = !{{{.*}}class.NS::PODWithCtor{{.*}}, i1 true, i1 false}
 
-// IGNORELIST: @s1 ={{.*}} global
+// IGNORELIST: @{{.*}}s1{{.*}} ={{.*}} global
 // IGNORELIST-NOT: sanitize_address_dyninit
-// IGNORELIST: @s2 ={{.*}} global
+// IGNORELIST: @{{.*}}s2{{.*}} ={{.*}} global
 // IGNORELIST-NOT: sanitize_address_dyninit
-// IGNORELIST: @s3 ={{.*}} global
+// IGNORELIST: @{{.*}}s3{{.*}} ={{.*}} global
 // IGNORELIST-NOT: sanitize_address_dyninit
 // IGNORELIST: @{{.*}}array{{.*}} ={{.*}} global
 // IGNORELIST-NOT: sanitize_address_dyninit


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to