[llvm] 7c1171a - use right separator for windows.

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 20:46:08 PDT 2021


Author: Chen Zheng
Date: 2021-10-08T03:45:54Z
New Revision: 7c1171a0f36ac244d687cd9d3d456f8e5de58b5c

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

LOG: use right separator for windows.

Added: 
    

Modified: 
    llvm/test/DebugInfo/XCOFF/empty.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/XCOFF/empty.ll b/llvm/test/DebugInfo/XCOFF/empty.ll
index d1ee6b68e38a..0bd1a1b1d2d6 100644
--- a/llvm/test/DebugInfo/XCOFF/empty.ll
+++ b/llvm/test/DebugInfo/XCOFF/empty.ll
@@ -477,7 +477,7 @@ entry:
 ; DWARF32-NEXT:                  DW_AT_high_pc   (0x00000026)
 ; DWARF32-NEXT:                  DW_AT_frame_base        (DW_OP_reg1 R1)
 ; DWARF32-NEXT:                  DW_AT_name      ("main")
-; DWARF32-NEXT:                  DW_AT_decl_file ("debug/1.c")
+; DWARF32-NEXT:                  DW_AT_decl_file ("debug{{[/\\]}}1.c")
 ; DWARF32-NEXT:                  DW_AT_decl_line (1)
 ; DWARF32-NEXT:                  DW_AT_prototyped        (true)
 ; DWARF32-NEXT:                  DW_AT_type      (0x0000004f "int")


        


More information about the llvm-commits mailing list