Skip to content

Commit 545a98c

Browse files
committed
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4 [skip ci]
1 parent c543836 commit 545a98c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

bolt/lib/Profile/Heatmap.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,10 @@ void Heatmap::printSectionHotness(raw_ostream &OS) const {
304304

305305
uint64_t UnmappedHotness = 0;
306306
auto RecordUnmappedBucket = [&](uint64_t Address, uint64_t Frequency) {
307-
if (opts::Verbosity >= 1)
308-
errs() << "Couldn't map the address bucket ["
309-
<< formatv("{0:x}, {1:x}", Address, Address + BucketSize)
310-
<< "] containing " << Frequency
311-
<< " samples to a text section in the binary.\n";
307+
errs() << "Couldn't map the address bucket [0x" << Twine::utohexstr(Address)
308+
<< ", 0x" << Twine::utohexstr(Address + BucketSize)
309+
<< "] containing " << Frequency
310+
<< " samples to a text section in the binary.";
312311
UnmappedHotness += Frequency;
313312
};
314313

0 commit comments

Comments
 (0)