This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Emit a warning about invalid entries in function-order list
ClosedPublic

Authored by Amir on Jan 23 2023, 12:41 PM.

Details

Summary

Move individual warnings under verbosity >= 1, print out a warning with
aggregate number.

Diff Detail

Event Timeline

Amir created this revision.Jan 23 2023, 12:41 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Jan 23 2023, 12:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 23 2023, 12:41 PM

I guess the changes in RewriteInstance.cpp are not part of this diff, since they don't match the commit message?

maksfb added inline comments.Jan 23 2023, 3:02 PM
bolt/lib/Passes/ReorderFunctions.cpp
386–387

nit: keep naming ("Reorder functions" vs "ReorderFunctions") consistent (you can also use this->getName()). Drop the trailing period.

Amir added a comment.Jan 23 2023, 7:40 PM

I guess the changes in RewriteInstance.cpp are not part of this diff, since they don't match the commit message?

Right, these changes belong to D142269

Amir updated this revision to Diff 491590.Jan 23 2023, 7:41 PM

Update warning messages, remove unrelated changes

Amir marked an inline comment as done.Jan 24 2023, 1:09 PM
This revision is now accepted and ready to land.Jan 25 2023, 10:40 AM