[Lldb-commits] [lldb] [lldb] Change po fallback messaging (PR #175847)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 14 08:37:20 PST 2026


JDevlieghere wrote:

> A hypothetical over-the-top solution would be to return a DiagnosticDetail with the warning and then have the upper (CommandInterpreter) layer substitute the matching command instead...

Definitely more work, but I think it's the right thing to do for another reason: we should try to avoid printing `warning:` and `error:` to streams and do it programmatically so that they can be displayed appropriately (e.g. with color highlighting on the terminal) or as a structured error/warning in DAP. 

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


More information about the lldb-commits mailing list