[Lldb-commits] [lldb] Support inline diagnostics in CommandReturnObject (PR #110901)

via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 3 11:20:04 PDT 2024


jimingham wrote:

I find this API confusing, and it seems very focused on pointing out errors in commands that have some part of their text that gets submitted to a compiler.

The other obvious candidate for this feature is a general command parser implementation that handles:

(lldb) process launch --no-such-option -arch x86_64
                                          ^
                                           | unrecognized option '--no-such-option'

But it's not entirely clear to me how this scheme would support that...

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


More information about the lldb-commits mailing list