[Lldb-commits] [lldb] [lldb][Expression] Emit a 'Note' diagnostic that indicates the language used for expression evaluation (PR #161688)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 2 10:40:53 PDT 2025


adrian-prantl wrote:

This going to be quite useful for diagnosing perplexing errors!

> note: Requested expression evaluation as 'c' but fell back to 'c++'.

- Do we have a table that would translate the spec names into human-readable names (objc -> Objective-C, c -> C, ...) we could use for this?
- Is there any explanation we could offer as to why LLDB didn't honor the language the user requested?

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


More information about the lldb-commits mailing list