This is an archive of the discontinued LLVM Phabricator instance.

[LTO] Make detection of WPD remark enablement more robust
ClosedPublic

Authored by tejohnson on Aug 31 2018, 1:36 PM.

Details

Summary

Currently only the first function in the module is checked to
see if it has remarks enabled. If that first function is a declaration,
remarks will be incorrectly skipped. Change to look for the first
non-empty function.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.Aug 31 2018, 1:36 PM
vitalybuka accepted this revision.Sep 17 2018, 10:36 AM
This revision is now accepted and ready to land.Sep 17 2018, 10:36 AM
This revision was automatically updated to reflect the committed changes.