On 01/15/2015 07:11 PM, Jason Merrill wrote:
On 01/15/2015 09:58 PM, Aldy Hernandez wrote:
Now back to limbdo_die_list... My approach is to flush the limbo list,
generically, after the front-ends have finished, by adding a new
"early_finish" debug hook. This gets rid of any permanence into LTO
time. Then I flush it out again, if the middle end (or LTO, etc) has
added any limbo DIEs.
Can you remove the first flush and just do it in the second place?
If I only flush the limbo list in the second place, that's basically
what mainline does, albeit abstracted into a function. I thought the
whole point was to get rid of the limbo list, or at least keep it from
being a structure that has to go through LTO streaming.
Aldy