|
22 | 22 | #include "llvm/ADT/DenseSet.h" |
23 | 23 | #include "llvm/ADT/MapVector.h" |
24 | 24 | #include "llvm/ADT/STLExtras.h" |
25 | | -#include "llvm/ADT/SmallString.h" |
26 | 25 | #include "llvm/ADT/SmallSet.h" |
| 26 | +#include "llvm/ADT/SmallString.h" |
27 | 27 | #include "llvm/ADT/SmallVector.h" |
28 | 28 | #include "llvm/ADT/StringExtras.h" |
29 | 29 | #include "llvm/ADT/StringRef.h" |
@@ -5442,7 +5442,7 @@ template <class ELFT> bool ELFDumper<ELFT>::processCallGraphSection() { |
5442 | 5442 | PrintMalformedError(CGSectionErr, Twine::utohexstr(FuncAddr), |
5443 | 5443 | "number of direct callsites"); |
5444 | 5444 | // 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) { |
5446 | 5446 | typename ELFT::uint Callee = |
5447 | 5447 | Data.getUnsigned(&Offset, sizeof(Callee), &CGSectionErr); |
5448 | 5448 | if (CGSectionErr) |
@@ -5528,8 +5528,7 @@ template <class ELFT> void GNUELFDumper<ELFT>::printCallGraphInfo() { |
5528 | 5528 | auto FuncDirCallSites = El.second.DirectCallees; |
5529 | 5529 | if (!FuncDirCallSites.empty()) { |
5530 | 5530 | OS << "\n" << format("%lx", CallerPc); |
5531 | | - for (typename ELFT::uint Callee : |
5532 | | - FuncDirCallSites) { |
| 5531 | + for (typename ELFT::uint Callee : FuncDirCallSites) { |
5533 | 5532 | OS << " " << format("%lx", Callee); |
5534 | 5533 | } |
5535 | 5534 | } |
|
0 commit comments