Skip to content

Commit 695a5df

Browse files
Michael137adrian-prantl
authored andcommitted
[lldb][test] TestFrameFormat: set breakpoints by name
Without this for some reason Linux PR CI was failing with: ``` (lldb) settings set -f frame-format "custom-frame '${function.basename}'\n" check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:50'1 ? possible intended match 9: (lldb) break set -l 5 -f main.cpp check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: Breakpoint 1: no locations (pending). check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: WARNING: Unable to resolve breakpoint to any actual locations. check:50'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` (cherry picked from commit 10f379e)
1 parent 7582495 commit 695a5df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ int main() {
4242

4343
#--- commands.input
4444
settings set -f frame-format "custom-frame '${function.basename}'\n"
45-
break set -l 5 -f main.cpp
45+
break set -n bar
4646

4747
run
4848
bt

lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int main() { return bar(); }
3333

3434
#--- commands.input
3535
settings set -f frame-format "custom-frame '${function.template-arguments}'\n"
36-
break set -l 4 -f main.cpp
36+
break set -n func
3737

3838
run
3939
bt

0 commit comments

Comments
 (0)