summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/SymbolFile
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-12-04 22:54:51 +0200
committerMartin Storsjö <martin@martin.st>2019-12-04 23:55:34 +0200
commit276a5b2d5f1faf15616aa9dcefb55d1b1e5976ed (patch)
treee82fcb55ae07d2916e259ab8de332b4a0ad104f2 /lldb/test/Shell/SymbolFile
parent789e257ce0d84ef5ddbabfdf0c990b2878e67744 (diff)
downloadbcm5719-llvm-276a5b2d5f1faf15616aa9dcefb55d1b1e5976ed.tar.gz
bcm5719-llvm-276a5b2d5f1faf15616aa9dcefb55d1b1e5976ed.zip
[LLDB] Actually fix the win-i386-line-table.s test when executed on windows
The previous fix attempt, in 62a635e864e0, 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.
Diffstat (limited to 'lldb/test/Shell/SymbolFile')
-rw-r--r--lldb/test/Shell/SymbolFile/DWARF/win-i386-line-table.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/Shell/SymbolFile/DWARF/win-i386-line-table.s b/lldb/test/Shell/SymbolFile/DWARF/win-i386-line-table.s
index 9d090ded19c..2fa5ba5352b 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/win-i386-line-table.s
+++ b/lldb/test/Shell/SymbolFile/DWARF/win-i386-line-table.s
@@ -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
OpenPOWER on IntegriCloud