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: LTO early debug, day 2


On April 14, 2015 6:27:14 PM GMT+02:00, Aldy Hernandez <aldyh@redhat.com> wrote:
>On 04/14/2015 06:35 AM, Richard Biener wrote:
>
>Richard, thank you so much for working on this.  It's good to see your 
>progress here.
>
>> the late dwarf generation is a bit awkward because it insists on
>creating
>> type DIEs for all sort of contexts when we process scope vars.  The
>type
>
>Types should be reused, are they not being reused from early to late
>dwarf?

They are not there in the late phase because they should not be needed
(They are inherited from early debug
But not explicitly rematerialized).

In fact the whole plan is to eventually
Not even have the 'tree' side of the types
Anymore.

Richard.

>
>> DIEs already exist, but only in early debug info.  I suspect we need
>to do
>> quite some dwarf2out refactoring to split early from late debug
>generation
>> in areas like that.  For the C++ example above we get some stray
>unused
>> type DIEs still.
>
>A pass to remove unused DIEs is on my TODO list.
>
>Aldy



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