Skip to content

Commit dad1beb

Browse files
committed
[RISCV][DebugInfo] Fix dwarf-riscv-relocs.ll test on Windows
Windows sees DW_AT_decl_file (".\dwarf-riscv-relocs.c") while Linux sees DW_AT_decl_file ("./dwarf-riscv-relocs.c"). This fixes a failure introduced in rL366402. llvm-svn: 366410
1 parent 36082e3 commit dad1beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
; DWARF-DUMP: DW_AT_name ("dwarf-riscv-relocs.c")
2727
; DWARF-DUMP: DW_AT_comp_dir (".")
2828
; DWARF-DUMP: DW_AT_name ("main")
29-
; DWARF-DUMP: DW_AT_decl_file ("./dwarf-riscv-relocs.c")
29+
; DWARF-DUMP: DW_AT_decl_file ("{{.*}}dwarf-riscv-relocs.c")
3030
; DWARF-DUMP: DW_AT_decl_line (1)
3131
; DWARF-DUMP: DW_AT_type (0x00000032 "int")
3232
; DWARF-DUMP: DW_AT_name ("int")

0 commit comments

Comments
 (0)