This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Fix debug messages
ClosedPublic

Authored by Amir on Jun 6 2023, 3:39 PM.

Details

Reviewers
rafauler
maksfb
Group Reviewers
Restricted Project
Commits
rG713b28532e9f: [BOLT][NFC] Fix debug messages
Summary

Fix debug printing, making it easier to compare two debug logs side by side:

  • BinaryFunction::addRelocation: print function name instead of this ptr,
  • DataAggregator::doTrace: remove duplicated function name.

Diff Detail

Event Timeline

Amir created this revision.Jun 6 2023, 3:39 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Jun 6 2023, 3:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2023, 3:39 PM
Amir edited the summary of this revision. (Show Details)Jun 6 2023, 3:40 PM
Amir edited the summary of this revision. (Show Details)
Amir edited the summary of this revision. (Show Details)
maksfb accepted this revision.Jun 6 2023, 3:43 PM

LGTM

bolt/lib/Core/BinaryFunction.cpp
4513

Can also use *this.

This revision is now accepted and ready to land.Jun 6 2023, 3:43 PM
This revision was landed with ongoing or failed builds.Jun 6 2023, 3:51 PM
This revision was automatically updated to reflect the committed changes.
Amir marked an inline comment as done.Jun 6 2023, 3:51 PM