This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PR debug/47510


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> It seems to me that it would be simpler to just emit 't' as an ordinary
Tom> DW_TAG_structure_type and not emit a typedef at all.

After a lot of discussion on irc, we came up with another idea: extend
this patch to add DW_AT_linkage_name == 't' to the anonymous structure.
This makes the DWARF remain a faithful representation of the C++, but
also makes it simple for debuginfo readers to understand what is going
on.  In particular I think it will make the gdb side of this tractable.

Tom


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