[Lldb-commits] [lldb] 10f379e - [lldb][test] TestFrameFormat: set breakpoints by name

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Sun Apr 27 13:43:49 PDT 2025


Author: Michael Buch
Date: 2025-04-27T21:43:27+01:00
New Revision: 10f379e68660af931e367dba988ef2e3a1073bf5

URL: https://github.com/llvm/llvm-project/commit/10f379e68660af931e367dba988ef2e3a1073bf5
DIFF: https://github.com/llvm/llvm-project/commit/10f379e68660af931e367dba988ef2e3a1073bf5.diff

LOG: [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     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Added: 
    

Modified: 
    lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test
    lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test
index fdb90a064e273..61af2b49886ec 100644
--- a/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test
+++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test
@@ -38,7 +38,7 @@ int main() {
 
 #--- commands.input
 settings set -f frame-format "custom-frame '${function.basename}'\n"
-break set -l 5 -f main.cpp
+break set -n bar
 
 run
 bt

diff  --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test
index 1b5113fb66732..5687dd7fba26b 100644
--- a/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test
+++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test
@@ -29,7 +29,7 @@ int main() { return bar(); }
 
 #--- commands.input
 settings set -f frame-format "custom-frame '${function.template-arguments}'\n"
-break set -l 4 -f main.cpp
+break set -n func
 
 run
 bt


        


More information about the lldb-commits mailing list