Try to fix a couple tests for Windows.
authorPaul Robinson <paul.robinson@sony.com>
Thu, 29 Mar 2018 18:59:33 +0000 (18:59 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Thu, 29 Mar 2018 18:59:33 +0000 (18:59 +0000)
llvm-svn: 328814

llvm/test/CodeGen/Generic/dwarf-md5.ll
llvm/test/CodeGen/Generic/dwarf-source.ll

index 0f23b90..745f433 100644 (file)
 ; RUN: llvm-dwarfdump -debug-line %t5.o | FileCheck %s --check-prefixes=OBJ,OBJ-5
 
 ; ASM-4-NOT: .file 0
-; ASM-5: .file 0 "/scratch{{[/\\]}}t.c" md5 "00000000000000000000000000000000"
-; ASM: .file 1 "/scratch{{[/\\]}}t1.h"
+; ASM-5: .file 0 "/scratch{{.*[/\\]}}t.c" md5 "00000000000000000000000000000000"
+; ASM: .file 1 "/scratch{{.*[/\\]}}t1.h"
 ; ASM-4-NOT:  md5
 ; ASM-5-SAME: md5 "11111111111111111111111111111111"
-; ASM: .file 2 "/scratch{{[/\\]}}t2.h"
+; ASM: .file 2 "/scratch{{.*[/\\]}}t2.h"
 ; ASM-4-NOT:  md5
 ; ASM-5-SAME: md5 "22222222222222222222222222222222"
 
index 3f772d3..6e9b26b 100644 (file)
@@ -12,9 +12,9 @@
 ; RUN: %llc_dwarf -dwarf-version 5 -filetype=obj -o %t5.o %s
 ; RUN: llvm-dwarfdump -debug-line %t5.o | FileCheck %s --check-prefixes=OBJ,OBJ-5
 
-; ASM-5: .file 0 "/test{{[/\\]}}t.c" source "00000000000000000000000000000000"
-; ASM: .file 1 "/test{{[/\\]}}t1.h" source "11111111111111111111111111111111"
-; ASM: .file 2 "/test{{[/\\]}}t2.h" source "22222222222222222222222222222222"
+; ASM-5: .file 0 "/test{{.*[/\\]}}t.c" source "00000000000000000000000000000000"
+; ASM: .file 1 "/test{{.*[/\\]}}t1.h" source "11111111111111111111111111111111"
+; ASM: .file 2 "/test{{.*[/\\]}}t2.h" source "22222222222222222222222222222222"
 
 ; OBJ-5: file_names[ 0]:
 ; OBJ-5-NEXT: name: "t.c"