diff options
-rw-r--r-- | llvm/tools/llvm-readobj/ELFDumper.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/tools/llvm-readobj/ELFDumper.cpp b/llvm/tools/llvm-readobj/ELFDumper.cpp index 9ebc7a785ed..8c1c6fef89e 100644 --- a/llvm/tools/llvm-readobj/ELFDumper.cpp +++ b/llvm/tools/llvm-readobj/ELFDumper.cpp @@ -139,7 +139,7 @@ struct DynRegionInfo { } }; -template<typename ELFT> +template <typename ELFT> class ELFDumper : public ObjDumper { public: ELFDumper(const object::ELFObjectFile<ELFT> *ObjF, ScopedPrinter &Writer); @@ -1594,17 +1594,17 @@ typename ELFDumper<ELFT>::Elf_Relr_Range ELFDumper<ELFT>::dyn_relrs() const { return DynRelrRegion.getAsArrayRef<Elf_Relr>(); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printFileHeaders() { ELFDumperStyle->printFileHeaders(ObjF->getELFFile()); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printSectionHeaders() { ELFDumperStyle->printSectionHeaders(ObjF->getELFFile()); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printRelocations() { ELFDumperStyle->printRelocations(ObjF->getELFFile()); } @@ -1627,7 +1627,7 @@ void ELFDumper<ELFT>::printSymbols(bool PrintSymbols, PrintDynamicSymbols); } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printHashSymbols() { ELFDumperStyle->printHashSymbols(ObjF->getELFFile()); } @@ -1891,7 +1891,7 @@ void ELFDumper<ELFT>::printValue(uint64_t Type, uint64_t Value) { } } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printUnwindInfo() { DwarfCFIEH::PrinterContext<ELFT> Ctx(W, ObjF); Ctx.printUnwindInformation(); @@ -1912,7 +1912,7 @@ template <> void ELFDumper<ELF32LE>::printUnwindInfo() { } // end anonymous namespace -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printDynamicTable() { // A valid .dynamic section contains an array of entries terminated with // a DT_NULL entry. However, sometimes the section content may continue @@ -1946,7 +1946,7 @@ void ELFDumper<ELFT>::printDynamicTable() { W.startLine() << "]\n"; } -template<class ELFT> +template <class ELFT> void ELFDumper<ELFT>::printNeededLibraries() { ListScope D(W, "NeededLibraries"); |