Skip to content

Commit 3f0237f

Browse files
committed
Tolerate windows path separators
1 parent 0e4d4f7 commit 3f0237f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/DebugInfo/X86/file-index-across-cu.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
; CHECK-NOT: DW_TAG
2424
; CHECK: DW_TAG_variable
2525
; CHECK-NOT: DW_TAG
26-
; CHECK: DW_AT_decl_file ("C:\Users\gbmorsej\source\bees/3.cpp")
26+
; CHECK: DW_AT_decl_file ("C:\Users\gbmorsej\source\bees{{\\|/}}3.cpp")
2727
; CHECK-NOT: DW_TAG
2828
; CHECK: DW_TAG_variable
2929
; CHECK-NOT: DW_TAG
30-
; CHECK: DW_AT_decl_file ("C:\users\gbmorsej\source/bees/2.cpp")
30+
; CHECK: DW_AT_decl_file ("C:\users\gbmorsej\source/bees{{\\|/}]2.cpp")
3131

3232
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
3333
target triple = "x86_64-sie-ps5"

0 commit comments

Comments
 (0)