[Lldb-commits] [lldb] [LLDB] Add DIL code for handling plain variable names. (PR #120971)

via lldb-commits lldb-commits at lists.llvm.org
Sun Mar 16 10:42:50 PDT 2025


cmtice wrote:

> The other advantage of the diagnostic manager with the details et al, is that lldb can use the structure in the diagnostic messages to have the error message include a pointer to the place of the error in the original message, like:
> 
> ```
> (lldb) expr edgeSet.not_there
>                     ^
>                     error: no member named 'not_there' in 'std::map<double, std::list<Span>>'
> ```
> 
> It would be nice to get that working for DIL expressions as well.

Done.

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


More information about the lldb-commits mailing list