This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: dwarflint versus linkage_name attributes
- From: Tom Tromey <tromey at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 04 Apr 2011 10:50:14 -0600
- Subject: Re: dwarflint versus linkage_name attributes
>>>>> "Mark" == Mark Wielaard <mjw@redhat.com> writes:
Mark> - DW_TAG_union_type and DW_TAG_structure_type with DW_AT_linkage_name
Mark> set (but not DW_AT_external, which on itself makes sense). These are
Mark> unexpected because the dwarf spec doesn't explain why or how these would
Mark> be necessary.
See GCC PR 47510.
Basically, this is a GCC extension. Partly it is there to make the
implementation in GDB simpler, but it is also a DWARF reflection of a
C++ feature that otherwise has no natural existing representation (at
least IMO).
Tom