This is the mail archive of the gcc@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] Streaming out language-specific DECL/TYPEs


> Jan Hubicka wrote:
> 
> >Sure if it works, we should be lowering the types during gimplification
> >so we don't need to store all this in memory...
> >But C++ FE still use its local data later in stuff like thunks, but we
> >will need to cgraphize them anyway.
> 
> I agree.  The only use of language-specific DECLs and TYPEs after 
> gimplification should be for generating debug information.  And if 
> that's already been done, then you shouldn't need it at all.

For LTO with debug info we will probably need some frontend neutral
debug info representaiton in longer run, since optimization modifying
the data types and such will need to compensate.

We can translate stuff to in-memory dwarf and update it but that would
limit amount of debug info format we will want to support probably.

Honza
> 
> -- 
> Mark Mitchell
> CodeSourcery
> mark@codesourcery.com
> (650) 331-3385 x713


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