Page MenuHomePhabricator

[ThinLTO] Fix dead stripping analysis for SamplePGO

Authored by tejohnson on Sep 20 2017, 9:35 AM.



The fix for dead stripping analysis in the case of SamplePGO indirect
calls to local functions (r313151) introduced the possibility of an
infinite loop.

Make sure we check for the value being already live after we update it
for SamplePGO indirect call handling.

Event Timeline

tejohnson created this revision.Sep 20 2017, 9:35 AM
danielcdh accepted this revision.Sep 20 2017, 9:38 AM

LGTM, Thanks!

This revision is now accepted and ready to land.Sep 20 2017, 9:38 AM
This revision was automatically updated to reflect the committed changes.