[Lldb-commits] [lldb] [lldb][Format] Make function name frame-format variables work without debug-info (PR #137408)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Sun Apr 27 08:14:50 PDT 2025


================
@@ -38,7 +42,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
----------------
Michael137 wrote:

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     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

https://github.com/llvm/llvm-project/pull/137408


More information about the lldb-commits mailing list