[Lldb-commits] [lldb] [lldb][Format] Make function name frame-format variables work without debug-info (PR #137408)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 28 00:44:36 PDT 2025
https://github.com/labath approved this pull request.
Having separate variables for these makes sense since they are kind of showing completely different information (demangler will show you the types, while the formatter will show you names and values), but I think that a single variable makes sense as well ("just show me something about the arguments").
As for the syntax for alternatives, I was suggesting (privately, I think) to use `:-`, as that what [bash](https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html) uses for conditional expansion (and the formatter language feels more like bash than C). However, I am having some doubts about that now since the way you're thinking of using it is not exactly bash-like (the `:-` thingy only works for a single variable, but I think you want to mostly use it on the block level (and bash doesn't have blocks))
https://github.com/llvm/llvm-project/pull/137408
More information about the lldb-commits
mailing list