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]

Re: [PATCH] Fix outputting of debug info for things marked *INTERNAL* (fwd)


Jason Merrill <jason@redhat.com> writes:

> >>>>> "Daniel" == Daniel Berlin <dberlin@redhat.com> writes:
> 
> > Jason Merrill <jason@redhat.com> writes:
> 
> >> Yes, I only meant that the string "*INTERNAL*" shouldn't be making it into
> >> the debug info.  for dwarf2 my plan is to just avoid adding a
> >> DW_AT_MIPS_linkage_name attribute to the abstract ctor DIE.  The other
> >> option would be for it to give the complete ctor's linkage name.
> 
> > No, just don't give it a name, or a linkage name (if you must give it
> > a name, make it ""), and looking at the dwarf2read code, it should be
> > ignored for the purposes of constructing visible symbols (IE something
> > in dwarf2read might hunt it down if it's necessary to get info from it
> > or something, but it'll never show up in any of gdb's symbol tables).
> 
> But it has a name, and should be used to build the list of methods in the
> class, since the concrete [cd]tors won't appear under the class DIE.

I'm confused, as usual.

Can you draw a little ascii art (or fake readelf -w output, or
whatever is easiest) that shows what you are proposing?

I'm having a lot of trouble visualizing it.

Or, if you already have it implemented, just throw me a patch, and
i'll look at the output meeself.

> 
> Jason


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