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

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 9 11:18:45 PDT 2021


probinson added a comment.

> 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.


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

https://reviews.llvm.org/D105564



More information about the cfe-commits mailing list