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: Serializing mixed gimple data from a plugin in LTO?


On Fri, Mar 25, 2011 at 12:52 PM, Diego Novillo <dnovillo@google.com> wrote:
> On Fri, Mar 25, 2011 at 06:06, Richard Guenther
> <richard.guenther@gmail.com> wrote:
>
>> You are not allowed to piggy-back on statements but only global things
>> like cgraph and varpool. ?There is no way to transition data from before
>> LTO to after associated with statements. ?And there never will be.
>
> But one could write out a table indexed by gimple statement uid. ?That
> would allow the pass to reconstruct the statement metadata on the way
> in.

That's true.  You still have to shove your data through WPA stage though
(which doesn't have stmts).

Richard.


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