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: Some clarifications regarding GIMPLE and LTO


nkavv@physics.auth.gr wrote:

> Does the LTO branch try to achieve that the complete information for a "Program"
> can be sufficiently stored (in a file)? If this is already there, could anyone
> provide some pointers to the API?

Yes, on the LTO branch, we are working to store the entire translation
unit in a form that can then be read back into the compiler.  The global
symbol table is stored using DWARF3, so you can read it back with a
standard DWARF reader.  See lto/lto.c on the LTO branch for the code
that does this.

At present, there are a few things that are not yet written out to the
DWARF information (like GCC machine modes), but most things (types,
functions, variables) are present.

-- 
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]