[clang] 39dd8dc - [NFC] Fix test failure in windows

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 31 23:14:27 PDT 2022


Author: Chuanqi Xu
Date: 2022-08-01T14:14:02+08:00
New Revision: 39dd8dcf208d24a8004f46ec0f3e912514a346b6

URL: https://github.com/llvm/llvm-project/commit/39dd8dcf208d24a8004f46ec0f3e912514a346b6
DIFF: https://github.com/llvm/llvm-project/commit/39dd8dcf208d24a8004f46ec0f3e912514a346b6.diff

LOG: [NFC] Fix test failure in windows

Added: 
    

Modified: 
    clang/test/CodeGenCXX/threadlocal_address.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/threadlocal_address.cpp b/clang/test/CodeGenCXX/threadlocal_address.cpp
index d61b578034a86..d3b17796c3ad0 100644
--- a/clang/test/CodeGenCXX/threadlocal_address.cpp
+++ b/clang/test/CodeGenCXX/threadlocal_address.cpp
@@ -7,7 +7,7 @@ int g() {
   i++;
   return i;
 }
-// CHECK: @i = thread_local global i32 0
+// CHECK: @i = {{.*}}thread_local global i32 0
 // CHECK: @_ZZ1fvE1j = internal thread_local global i32 0
 //
 // CHECK: @_Z1gv()


        


More information about the cfe-commits mailing list