[Lldb-commits] [lldb] [lldb][Format] Unwrap references to C-strings when printing C-string summaries (PR #174398)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 5 05:45:32 PST 2026
DavidSpickett wrote:
Wasn't sure about the formatting of the result:
```
(lldb) v ref
(const char *&) ref = 0x000000016fdfec40 (&ref = "hi")
```
But it does match any other reference to type:
```
(lldb) p b
(int &) 0x00007fffffffda7c (&b = 2)
```
So that's fine.
https://github.com/llvm/llvm-project/pull/174398
More information about the lldb-commits
mailing list