[PATCH] D152314: [BOLT][NFC] Fix debug messages
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 15:43:36 PDT 2023
maksfb accepted this revision.
maksfb added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: bolt/lib/Core/BinaryFunction.cpp:4512
LLVM_DEBUG(dbgs() << "BOLT-DEBUG: addRelocation in "
- << formatv("{0}@{1:x} against {2}\n", this, Offset,
- Symbol->getName()));
+ << formatv("{0}@{1:x} against {2}\n", getPrintName(),
+ Offset, Symbol->getName()));
----------------
Can also use `*this`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152314/new/
https://reviews.llvm.org/D152314
More information about the llvm-commits
mailing list