Fix dir-separator-no-comp-dir-relative-name.s test added in r351328

In this test we have deliberately removed all information which may hint
at the correct path style, so we cannot assert that lldb uses a
particular style. Instead, we should just check that it does something
vaguely reasonable.

llvm-svn: 351359
This commit is contained in:
Pavel Labath 2019-01-16 17:39:06 +00:00
parent 7dcea5ae3b
commit 081194d9fa
1 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,6 @@
# Test that parsing of line tables works reasonably, even if the host directory
# separator does not match the separator of the compile unit.
# Test that parsing of line tables works reasonably. In this case the debug info
# does not have enough information for our heuristics to determine the path
# style, so we will just treat them as native host paths.
# REQUIRES: lld
@ -8,10 +9,10 @@
# RUN: %lldb %t -s %S/Inputs/dir-separator-no-comp-dir-relative-name.lldbinit -o exit | FileCheck %s
# CHECK-LABEL: image dump line-table a.c
# CHECK: Line table for foo/a.c
# CHECK-NEXT: 0x0000000000201000: foo/a.c:1
# CHECK-NEXT: 0x0000000000201001: foo/b.c:1
# CHECK-NEXT: 0x0000000000201002: foo/b.c:1
# CHECK: Line table for foo{{.}}a.c
# CHECK-NEXT: 0x0000000000201000: foo{{.}}a.c:1
# CHECK-NEXT: 0x0000000000201001: foo{{.}}b.c:1
# CHECK-NEXT: 0x0000000000201002: foo{{.}}b.c:1
# CHECK-EMPTY:
# CHECK-LABEL: breakpoint set -f a.c -l 1