On Fri, Mar 25, 2011 at 12:52 PM, Diego Novillo <dnovi...@google.com> wrote:
> On Fri, Mar 25, 2011 at 06:06, Richard Guenther
> <richard.guent...@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.

Reply via email to