Skip to content

Commit 5b504fc

Browse files
committed
Format
1 parent 0b9c46d commit 5b504fc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/tools/llvm-readobj/ELFDumper.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#include "llvm/ADT/DenseSet.h"
2323
#include "llvm/ADT/MapVector.h"
2424
#include "llvm/ADT/STLExtras.h"
25-
#include "llvm/ADT/SmallString.h"
2625
#include "llvm/ADT/SmallSet.h"
26+
#include "llvm/ADT/SmallString.h"
2727
#include "llvm/ADT/SmallVector.h"
2828
#include "llvm/ADT/StringExtras.h"
2929
#include "llvm/ADT/StringRef.h"
@@ -5442,7 +5442,7 @@ template <class ELFT> bool ELFDumper<ELFT>::processCallGraphSection() {
54425442
PrintMalformedError(CGSectionErr, Twine::utohexstr(FuncAddr),
54435443
"number of direct callsites");
54445444
// Read direct call sites and populate FuncCGInfo.
5445-
for (uint64_t I = 0; I < NumDirectCallees; ++I) {
5445+
for (uint64_t I = 0; I < NumDirectCallees; ++I) {
54465446
typename ELFT::uint Callee =
54475447
Data.getUnsigned(&Offset, sizeof(Callee), &CGSectionErr);
54485448
if (CGSectionErr)
@@ -5528,8 +5528,7 @@ template <class ELFT> void GNUELFDumper<ELFT>::printCallGraphInfo() {
55285528
auto FuncDirCallSites = El.second.DirectCallees;
55295529
if (!FuncDirCallSites.empty()) {
55305530
OS << "\n" << format("%lx", CallerPc);
5531-
for (typename ELFT::uint Callee :
5532-
FuncDirCallSites) {
5531+
for (typename ELFT::uint Callee : FuncDirCallSites) {
55335532
OS << " " << format("%lx", Callee);
55345533
}
55355534
}

0 commit comments

Comments
 (0)