[RFC][PATCH][PR gdb/24154] Use real type for member functions with auto return type

Tom Tromey tom@tromey.com
Tue Apr 14 21:34:47 GMT 2020


>>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:

>> I tend to suspect we should handle this during DWARF reading.
>> Without seeing the DWARF I'm not sure what's really going on though.

Hannes> This is all of the DWARF info:

For when you update the commit message, IMO the output of objdump is way
more readable.

Hannes> So the real type is in the definition die, while the class
Hannes> member function die only has the auto type.

It definitely seems better to handle this in the DWARF reader then.
What do you think?

Tom


More information about the Gdb-patches mailing list