[llvm] c5109d3 - Fix path in test added in e0577b3130a646b0ee090c04a40400483031c7a9 to work with both Linux/Windows paths.

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 04:19:26 PDT 2021


Author: Douglas Yung
Date: 2021-03-30T04:17:29-07:00
New Revision: c5109d3c7936d9c78216e0cc722c1ce0ea9246ec

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

LOG: Fix path in test added in e0577b3130a646b0ee090c04a40400483031c7a9 to work with both Linux/Windows paths.

Patch by Ying Yi!

Added: 
    

Modified: 
    llvm/test/tools/dsymutil/X86/label2.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/dsymutil/X86/label2.test b/llvm/test/tools/dsymutil/X86/label2.test
index 8f9a2089b28d..0517d1e7135b 100644
--- a/llvm/test/tools/dsymutil/X86/label2.test
+++ b/llvm/test/tools/dsymutil/X86/label2.test
@@ -16,6 +16,6 @@ RUN: llvm-dwarfdump %t.dSYM | FileCheck %s
 
 CHECK:      DW_TAG_label
 CHECK-NEXT:   DW_AT_name    ("foobar")
-CHECK-NEXT:   DW_AT_decl_file       ("/tmp/label/label.c")
+CHECK-NEXT:   DW_AT_decl_file       ("/tmp/label{{[/\\]}}label.c")
 CHECK-NEXT:   DW_AT_decl_line       (6)
 CHECK-NEXT:   DW_AT_low_pc  (0x0000000100003f9d)


        


More information about the llvm-commits mailing list