From 276a5b2d5f1faf15616aa9dcefb55d1b1e5976ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 4 Dec 2019 22:54:51 +0200 Subject: [PATCH] [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. --- lldb/test/Shell/SymbolFile/DWARF/win-i386-line-table.s | 6 +++--- 1 file 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 9d090ded19c0..2fa5ba5352b6 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