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]

Antwort: Re: [LTO] Make Move lto-symtab.c out of lto/


Rafael Espindola schrieb am 24.10.2008 09:58:12:

> 2008/10/24 Doug Kwan (關振?) <dougkwan@google.com>:
> > Rafael,
> >
<snip>
> > other IPA summary readers.  Instead the lto_symtab functions should be
> > visibile to all FEs. This can simply be done by pulling the file
> > lto-symtab.c out of lto1.  When that it done.  I think we can
> > eliminate the input_cgraph hook and move back the code to
> > lto-cgraph.c, where it logically belongs.
> >
> > Thoughts? Comments?
>
> Go for it :-)
>
> I didn't like the addition of the langhook, but it was the easy path.
> I don't think it will scale nicely.
>
> The best solution would to have a libgimple that would contain and
> isolate the code to read and write IL and call graph, but it will be a
> long time before we have one (it is hopeless to have anything but gcc
> understand trees). Maybe it can be used as a decision tool. Anything
> that would be in such a library should go in gcc/*. Symbol resolution
> is in :-)
>
Would it be useful to start that library now as a directory of directly
used sources, with the intention to make it a real lib later ?
Ideally before merging LTO?

      Markus Milleder



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