[llvm] r366410 - [RISCV][DebugInfo] Fix dwarf-riscv-relocs.ll test on Windows
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 00:25:56 PDT 2019
Author: asb
Date: Thu Jul 18 00:25:56 2019
New Revision: 366410
URL: http://llvm.org/viewvc/llvm-project?rev=366410&view=rev
Log:
[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.
Modified:
llvm/trunk/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll
Modified: llvm/trunk/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll?rev=366410&r1=366409&r2=366410&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll (original)
+++ llvm/trunk/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll Thu Jul 18 00:25:56 2019
@@ -26,7 +26,7 @@
; DWARF-DUMP: DW_AT_name ("dwarf-riscv-relocs.c")
; DWARF-DUMP: DW_AT_comp_dir (".")
; DWARF-DUMP: DW_AT_name ("main")
-; DWARF-DUMP: DW_AT_decl_file ("./dwarf-riscv-relocs.c")
+; DWARF-DUMP: DW_AT_decl_file ("{{.*}}dwarf-riscv-relocs.c")
; DWARF-DUMP: DW_AT_decl_line (1)
; DWARF-DUMP: DW_AT_type (0x00000032 "int")
; DWARF-DUMP: DW_AT_name ("int")
More information about the llvm-commits
mailing list