This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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:
>
> > Can you draw a little ascii art (or fake readelf -w output, or
> > whatever is easiest) that shows what you are proposing?
>
> DW_TAG_structure_type
> DW_AT_name: A
> 1: DW_TAG_subprogram <original, internal version>
> DW_AT_name: A
> DW_AT_declaration: 1
> <parms>
> 2: DW_TAG_subprogram <internal version>
> DW_AT_specification: #1
> DW_AT_inline: 2
> <parms, body>
> DW_TAG_subprogram <base ctor>
> DW_AT_abstract_origin: #2
> DW_AT_low_pc: _ZN1AC2Ev (well, actually a local label with the same value)
> <etc>
> DW_TAG_subprogram <complete ctor>
> DW_AT_abstract_origin: #2
> DW_AT_low_pc: _ZN1AC1Ev
> <etc>
>
Oh, okay.
Yes.
This makes perfect sense.
> > Or, if you already have it implemented, just throw me a patch, and
> > i'll look at the output meeself.
>
> I'll check it in shortly.
Please, do.
>
> Jason