[llvm] r328814 - Try to fix a couple tests for Windows.

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 11:59:33 PDT 2018


Author: probinson
Date: Thu Mar 29 11:59:33 2018
New Revision: 328814

URL: http://llvm.org/viewvc/llvm-project?rev=328814&view=rev
Log:
Try to fix a couple tests for Windows.

Modified:
    llvm/trunk/test/CodeGen/Generic/dwarf-md5.ll
    llvm/trunk/test/CodeGen/Generic/dwarf-source.ll

Modified: llvm/trunk/test/CodeGen/Generic/dwarf-md5.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/dwarf-md5.ll?rev=328814&r1=328813&r2=328814&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/dwarf-md5.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/dwarf-md5.ll Thu Mar 29 11:59:33 2018
@@ -13,11 +13,11 @@
 ; 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"
 

Modified: llvm/trunk/test/CodeGen/Generic/dwarf-source.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/dwarf-source.ll?rev=328814&r1=328813&r2=328814&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/dwarf-source.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/dwarf-source.ll Thu Mar 29 11:59:33 2018
@@ -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"




More information about the llvm-commits mailing list