This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Refactor heatmap to be standalone tool
ClosedPublic

Authored by yota9 on Feb 3 2022, 2:20 PM.

Details

Summary

Separate heatmap from bolt and build it as standalone tool.

Diff Detail

Event Timeline

yota9 created this revision.Feb 3 2022, 2:20 PM
yota9 requested review of this revision.Feb 3 2022, 2:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2022, 2:20 PM
Amir added a comment.Feb 4 2022, 9:49 AM

The changes make sense to me. Running internal checks.
@maksfb, is that what you meant by refactoring the heatmap tool into its own tool?

yota9 added a comment.Feb 4 2022, 12:40 PM

@Amir Great thanks! Please let me know the tests results :)

Amir added a comment.Feb 4 2022, 3:08 PM

The test succeeded.

@Amir Great thanks! Please let me know the tests results :)

yota9 updated this revision to Diff 406119.Feb 4 2022, 3:33 PM

Fix shared libs build mode

yota9 updated this revision to Diff 406121.Feb 4 2022, 3:44 PM

Make InputFilename static

maksfb accepted this revision.Feb 7 2022, 10:23 AM

Thanks for fixing the heatmap, @yota9. It will be good to refactor heatmap-specific code and options, but we can do it once basic functionality is restored.

This revision is now accepted and ready to land.Feb 7 2022, 10:23 AM
This revision was landed with ongoing or failed builds.Feb 7 2022, 11:01 AM
This revision was automatically updated to reflect the committed changes.