Skip to content

Commit 9741297

Browse files
committed
clang-format
Created using spr 1.3.4
1 parent 5f48b92 commit 9741297

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

bolt/lib/Profile/DataAggregator.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -858,12 +858,12 @@ bool DataAggregator::doTrace(const uint64_t From, const uint64_t To,
858858
BAT ? BAT->getFallthroughsInTrace(FromFunc->getAddress(), From, To)
859859
: getFallthroughsInTrace(*FromFunc, From, To, Count);
860860
if (!FTs) {
861-
LLVM_DEBUG(
862-
dbgs() << "Invalid trace starting in " << FromFunc->getPrintName()
863-
<< " @ " << Twine::utohexstr(From - FromFunc->getAddress())
864-
<< " and ending in " << ToFunc->getPrintName() << " @ "
865-
<< ToFunc->getPrintName() << " @ "
866-
<< Twine::utohexstr(To - ToFunc->getAddress()) << '\n');
861+
LLVM_DEBUG(dbgs() << "Invalid trace starting in "
862+
<< FromFunc->getPrintName() << " @ "
863+
<< Twine::utohexstr(From - FromFunc->getAddress())
864+
<< " and ending in " << ToFunc->getPrintName() << " @ "
865+
<< ToFunc->getPrintName() << " @ "
866+
<< Twine::utohexstr(To - ToFunc->getAddress()) << '\n');
867867
NumInvalidTraces += Count;
868868
return false;
869869
}
@@ -1582,7 +1582,7 @@ void DataAggregator::processBranchEvents() {
15821582
NamedRegionTimer T("processBranch", "Processing branch events",
15831583
TimerGroupName, TimerGroupDesc, opts::TimeAggregator);
15841584

1585-
for (const auto &[Loc, Info]: FallthroughLBRs) {
1585+
for (const auto &[Loc, Info] : FallthroughLBRs) {
15861586
if (Info.InternCount)
15871587
doTrace(Loc.From, Loc.To, Info.InternCount);
15881588
if (Info.ExternCount) {
@@ -1750,7 +1750,7 @@ void DataAggregator::processPreAggregated() {
17501750
TimerGroupName, TimerGroupDesc, opts::TimeAggregator);
17511751

17521752
uint64_t NumTraces = 0;
1753-
for (const auto &[From, To, Count, Mispreds, Type]: AggregatedLBRs) {
1753+
for (const auto &[From, To, Count, Mispreds, Type] : AggregatedLBRs) {
17541754
bool IsExternalOrigin = Type == AggregatedLBREntry::FT_EXTERNAL_ORIGIN;
17551755
switch (Type) {
17561756
case AggregatedLBREntry::BRANCH:

0 commit comments

Comments
 (0)