Make test case resilient to \ or / directory separators

llvm-svn: 293786
This commit is contained in:
David Blaikie 2017-02-01 17:34:41 +00:00
parent 93df1c1304
commit d3820b66f2

View File

@ -14,21 +14,21 @@ RUN: llvm-symbolizer -verbose -print-address -obj=%p/Inputs/discrim < %p/Inputs/
#CHECK: 0x4004f2
#CHECK-NEXT: main
#CHECK-NEXT: Filename: /tmp/discrim.c
#CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
#CHECK-NEXT: Line: 6
#CHECK-NEXT: Column: 7
#CHECK-NOT: Discriminator: 0
#CHECK: 0x400509
#CHECK-NEXT: main
#CHECK-NEXT: Filename: /tmp/discrim.c
#CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
#CHECK-NEXT: Line: 7
#CHECK-NEXT: Column: 3
#CHECK-NEXT: Discriminator: 1
#CHECK: 0x40050d
#CHECK-NEXT: main
#CHECK-NEXT: Filename: /tmp/discrim.c
#CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
#CHECK-NEXT: Line: 7
#CHECK-NEXT: Column: 3
#CHECK-NEXT: Discriminator: 2