[Lldb-commits] [lldb] [lldb] Fix null pointer dereference in FormatEntity array expansion (PR #188604)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 27 07:23:13 PDT 2026
DavidSpickett wrote:
Maybe your AI can figure something out, I couldn't figure out how to reach it and my own AI attempts didn't produce anything useful (aside from proving LLDB is too robust :shrug: ).
It's a bit annoying that this situation will silently drop something. If we could work out how to hit the bug-free case, we could at least figure out an appropriate `<error>, ` to print in the place of the thing we couldn't get. So it would be like:
```
(lldb) p something
... = [1, 2, 3, <oops>, 5, 6];
```
We don't know how to test that but at least it would be a visible hint if a user manages to reach it.
https://github.com/llvm/llvm-project/pull/188604
More information about the lldb-commits
mailing list