[Lldb-commits] [PATCH] D105564: Fix for DWARF parsing to better handle auto return type for member functions

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 9 11:22:27 PDT 2021


shafik added a comment.

In D105564#2867717 <https://reviews.llvm.org/D105564#2867717>, @probinson wrote:

>> Currently when we have a member function that has an auto return type and the definition is out of line we generate two DWARF DIE.
>> One for the declaration and a second one for the definition, the definition holds the deduced type but does not contain a DW_AT_name nor
>> a DW_AT_linkage_name so there was not way to look up the definition DIE.
>
> Regarding the DWARF, the definition DIE should have a DW_AT_specification that points back to the declaration; is that missing here?
> I'm not familiar with LLDB so it's likely I'm misunderstanding the problem.

Apologies, I should have updated the description as well, portions of that description are out of date with the new approach I just updated to.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105564/new/

https://reviews.llvm.org/D105564



More information about the lldb-commits mailing list