[LLDB] Actually fix the win-i386-line-table.s test when executed on windows

The previous fix attempt, in 62a635e864, used too much escaping
for the backslashes.

But instead of using regexes to match both path separator forms,
remove the path altogether to unify the output from the testcase
between platforms.
This commit is contained in:
Martin Storsjö 2019-12-04 22:54:51 +02:00
parent 789e257ce0
commit 276a5b2d5f
1 changed files with 3 additions and 3 deletions

View File

@ -8,14 +8,14 @@
# RUN: %lldb %t.exe -o "image dump line-table -v win-i386-line-table.c" -b | FileCheck %s
# CHECK: Line table for win-i386-line-table.c in `win-i386-line-table.s.tmp.exe
# CHECK: 0x00401000: {{/|\\\\}}path{{/|\\\\}}to{{/|\\\\}}src{{/|\\\\}}win-i386-line-table.c:2:1
# CHECK: 0x00401001: {{/|\\\\}}path{{/|\\\\}}to{{/|\\\\}}src{{/|\\\\}}win-i386-line-table.c:2:1
# CHECK: 0x00401000: win-i386-line-table.c:2:1
# CHECK: 0x00401001: win-i386-line-table.c:2:1
.text
.file "win-i386-line-table.c"
.globl _entry # -- Begin function entry
_entry: # @entry
.file 1 "/path/to/src" "win-i386-line-table.c"
.file 1 "" "win-i386-line-table.c"
.loc 1 1 0 # win-i386-line-table.c:1:0
.cfi_sections .debug_frame
.cfi_startproc