[llvm] a1bb571 - try to fix check-llvm on windows after 0a27622a1d62

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 15:00:45 PDT 2022


Author: Nico Weber
Date: 2022-04-26T18:00:37-04:00
New Revision: a1bb5719eca6a0e5b142518de6e25f45858baf1a

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

LOG: try to fix check-llvm on windows after 0a27622a1d62

Added: 
    

Modified: 
    llvm/test/DebugInfo/NVPTX/debug-file-loc-only.ll
    llvm/test/DebugInfo/NVPTX/debug-file-loc.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/NVPTX/debug-file-loc-only.ll b/llvm/test/DebugInfo/NVPTX/debug-file-loc-only.ll
index adb1e40f92d1d..9d1922bc6d1f6 100644
--- a/llvm/test/DebugInfo/NVPTX/debug-file-loc-only.ll
+++ b/llvm/test/DebugInfo/NVPTX/debug-file-loc-only.ll
@@ -27,8 +27,8 @@ bb:
   ret void, !dbg !11
 }
 
-; CHECK-DAG: .file [[FOO]] "/source/dir/foo.h"
-; CHECK-DAG: .file [[BAR]] "/source/dir/bar.cu"
+; CHECK-DAG: .file [[FOO]] "/source/dir{{[/\\]}}foo.h"
+; CHECK-DAG: .file [[BAR]] "/source/dir{{[/\\]}}bar.cu"
 
 ; CHECK-NOT: .section .debug{{.*}}
 

diff  --git a/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll b/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
index 2e69c6b546673..9a37468488372 100644
--- a/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
+++ b/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
@@ -27,8 +27,8 @@ bb:
   ret void, !dbg !11
 }
 
-; CHECK-DAG: .file [[FOO]] "/source/dir/foo.h"
-; CHECK-DAG: .file [[BAR]] "/source/dir/bar.cu"
+; CHECK-DAG: .file [[FOO]] "/source/dir{{[/\\]}}foo.h"
+; CHECK-DAG: .file [[BAR]] "/source/dir{{[/\\]}}bar.cu"
 ; CHECK: .section .debug_abbrev
 ; CHECK-NEXT: {
 ; CHECK-NEXT: .b8 1                                // Abbreviation Code


        


More information about the llvm-commits mailing list