[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Make C++ method parsing aware of explicit object parameters (PR #124096)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 23 03:12:41 PST 2025


Michael137 wrote:

> I like the unit test, but why don't we (also) have an end-to-end for the explicit object parameter feature? Is there something still missing for the full support?

Yea there's still a couple of issues with it. Particularly, expression evaluation in such methods currently doesn't work. But I suspect that isn't DWARF parser related, but due to assumptions in other parts of the expression evaluator. One particularly nasty looking blocker is that `clang::ParmVarDecl::isExplicitObjectParameter` is only `true` if it has a valid source location. But we never attach valid source locations to decls from DWARF.

Still need to investigate exactly what's going on though

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


More information about the lldb-commits mailing list