Skip to content

Commit 7377997

Browse files
committed
[lldb] Rework 'lldb' substitution workaround in dwarf5-lazy-dwo.c
This test is specifying the lldb log channel via `ll""db` which only really works because the command parser ends up parsing that as `lldb`. Just putting the channel name in quotes is enough to avoid the lldb command substitution and doesn't rely on this weird parser behaviour.
1 parent c5ab55f commit 7377997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/Shell/SymbolFile/DWARF/dwarf5-lazy-dwo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: %clang_host %s -fno-standalone-debug -g \
99
// RUN: -gdwarf-5 -gpubnames -gsplit-dwarf -c -o %t2.o -DTWO
1010
// RUN: %clang_host %t1.o %t2.o -o %t
11-
// RUN: %lldb %t -o "log enable ll""db object" -o "settings set stop-line-count-before 0" \
11+
// RUN: %lldb %t -o "log enable 'lldb' object" -o "settings set stop-line-count-before 0" \
1212
// RUN: -o "b main" -o "run" -o "image lookup -n main -v" -b | FileCheck %s
1313

1414
// CHECK-NOT: 2.dwo,

0 commit comments

Comments
 (0)