This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]