On 09/15/2014 05:32 AM, Richard Biener wrote:
Btw, if the VTV stuff really needs to come afterwards how does VTV work with LTO then?
It's conservatively correct: it emits information for all the vtables that are actually generated for the TU. If LTO optimizes some of them away, the VTV information is not updated, but that only means a missed optimization.
Eventually the VTV stuff can be integrated with the cgraph instead.
That would be ideal, yes. Jason