Lines Matching refs:ELFT
26 template <class ELFT>
28 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT)
48 const object::ELFFile<ELFT> &Obj;
107 ELFDumper(const object::ELFFile<ELFT> &O, std::unique_ptr<DWARFContext> DCtx);
113 template <class ELFT>
114 ELFDumper<ELFT>::ELFDumper(const object::ELFFile<ELFT> &O, in ELFDumper()
118 template <class ELFT>
120 ELFDumper<ELFT>::getUniquedSectionName(const Elf_Shdr &Sec) { in getUniquedSectionName()
145 template <class ELFT>
147 ELFDumper<ELFT>::getUniquedSymbolName(const Elf_Sym *Sym, StringRef StrTable, in getUniquedSymbolName()
182 template <class ELFT>
183 bool ELFDumper<ELFT>::shouldPrintSection(const ELFYAML::Section &S, in shouldPrintSection()
235 template <class ELFT>
236 static void dumpSectionOffsets(const typename ELFT::Ehdr &Header, in dumpSectionOffsets()
239 ArrayRef<typename ELFT::Shdr> S) { in dumpSectionOffsets()
247 ExpectedOffset = sizeof(typename ELFT::Ehdr); in dumpSectionOffsets()
252 const typename ELFT::Shdr &SecHdr = S[Sec.OriginalSecNdx]; in dumpSectionOffsets()
272 template <class ELFT> Expected<ELFYAML::Object *> ELFDumper<ELFT>::dump() { in dump()
380 dumpSectionOffsets<ELFT>(Obj.getHeader(), Y->ProgramHeaders, Chunks, in dump()
438 template <class ELFT>
440 const typename ELFT::Shdr &SHdr, in isInSegment()
441 const typename ELFT::Phdr &Phdr) { in isInSegment()
472 template <class ELFT>
474 ELFDumper<ELFT>::dumpProgramHeaders( in dumpProgramHeaders()
477 Expected<typename ELFT::PhdrRange> PhdrsOrErr = Obj.program_headers(); in dumpProgramHeaders()
481 for (const typename ELFT::Phdr &Phdr : *PhdrsOrErr) { in dumpProgramHeaders()
498 if (isInSegment<ELFT>(S, Sections[S.OriginalSecNdx], Phdr)) { in dumpProgramHeaders()
512 template <class ELFT>
513 Optional<DWARFYAML::Data> ELFDumper<ELFT>::dumpDWARFSections( in dumpDWARFSections()
556 template <class ELFT>
558 ELFDumper<ELFT>::dumpPlaceholderSection(const Elf_Shdr *Shdr) { in dumpPlaceholderSection()
572 template <class ELFT>
574 ELFDumper<ELFT>::dumpSections() { in dumpSections()
674 template <class ELFT>
675 Error ELFDumper<ELFT>::dumpSymbols( in dumpSymbols()
707 template <class ELFT>
708 Error ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol()
744 template <class ELFT>
746 Error ELFDumper<ELFT>::dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, in dumpRelocation()
778 template <class ELFT>
779 Error ELFDumper<ELFT>::dumpCommonSection(const Elf_Shdr *Shdr, in dumpCommonSection()
797 if (Shdr->sh_entsize != ELFYAML::getDefaultShEntSize<ELFT>( in dumpCommonSection()
818 template <class ELFT>
819 Error ELFDumper<ELFT>::dumpCommonRelocationSection( in dumpCommonRelocationSection()
841 template <class ELFT>
843 ELFDumper<ELFT>::dumpStackSizesSection(const Elf_Shdr *Shdr) { in dumpStackSizesSection()
853 DataExtractor Data(Content, Obj.isLE(), ELFT::Is64Bits ? 8 : 4); in dumpStackSizesSection()
874 template <class ELFT>
876 ELFDumper<ELFT>::dumpBBAddrMapSection(const Elf_Shdr *Shdr) { in dumpBBAddrMapSection()
889 DataExtractor Data(Content, Obj.isLE(), ELFT::Is64Bits ? 8 : 4); in dumpBBAddrMapSection()
930 template <class ELFT>
932 ELFDumper<ELFT>::dumpAddrsigSection(const Elf_Shdr *Shdr) { in dumpAddrsigSection()
971 template <class ELFT>
973 ELFDumper<ELFT>::dumpLinkerOptionsSection(const Elf_Shdr *Shdr) { in dumpLinkerOptionsSection()
1002 template <class ELFT>
1004 ELFDumper<ELFT>::dumpDependentLibrariesSection(const Elf_Shdr *Shdr) { in dumpDependentLibrariesSection()
1029 template <class ELFT>
1031 ELFDumper<ELFT>::dumpCallGraphProfileSection(const Elf_Shdr *Shdr) { in dumpCallGraphProfileSection()
1040 const uint32_t SizeOfEntry = ELFYAML::getDefaultShEntSize<ELFT>( in dumpCallGraphProfileSection()
1075 template <class ELFT>
1077 ELFDumper<ELFT>::dumpDynamicSection(const Elf_Shdr *Shdr) { in dumpDynamicSection()
1093 template <class ELFT>
1095 ELFDumper<ELFT>::dumpRelocSection(const Elf_Shdr *Shdr) { in dumpRelocSection()
1133 template <class ELFT>
1135 ELFDumper<ELFT>::dumpRelrSection(const Elf_Shdr *Shdr) { in dumpRelrSection()
1157 template <class ELFT>
1159 ELFDumper<ELFT>::dumpContentSection(const Elf_Shdr *Shdr) { in dumpContentSection()
1181 template <class ELFT>
1183 ELFDumper<ELFT>::dumpSymtabShndxSection(const Elf_Shdr *Shdr) { in dumpSymtabShndxSection()
1198 template <class ELFT>
1200 ELFDumper<ELFT>::dumpNoBitsSection(const Elf_Shdr *Shdr) { in dumpNoBitsSection()
1209 template <class ELFT>
1211 ELFDumper<ELFT>::dumpNoteSection(const Elf_Shdr *Shdr) { in dumpNoteSection()
1245 template <class ELFT>
1247 ELFDumper<ELFT>::dumpHashSection(const Elf_Shdr *Shdr) { in dumpHashSection()
1286 template <class ELFT>
1288 ELFDumper<ELFT>::dumpGnuHashSection(const Elf_Shdr *Shdr) { in dumpGnuHashSection()
1297 unsigned AddrSize = ELFT::Is64Bits ? 8 : 4; in dumpGnuHashSection()
1337 template <class ELFT>
1339 ELFDumper<ELFT>::dumpVerdefSection(const Elf_Shdr *Shdr) { in dumpVerdefSection()
1396 template <class ELFT>
1398 ELFDumper<ELFT>::dumpSymverSection(const Elf_Shdr *Shdr) { in dumpSymverSection()
1414 template <class ELFT>
1416 ELFDumper<ELFT>::dumpVerneedSection(const Elf_Shdr *Shdr) { in dumpVerneedSection()
1471 template <class ELFT>
1472 Expected<StringRef> ELFDumper<ELFT>::getSymbolName(uint32_t SymtabNdx, in getSymbolName()
1489 template <class ELFT>
1491 ELFDumper<ELFT>::dumpGroupSection(const Elf_Shdr *Shdr) { in dumpGroupSection()
1524 template <class ELFT>
1526 ELFDumper<ELFT>::dumpARMIndexTableSection(const Elf_Shdr *Shdr) { in dumpARMIndexTableSection()
1551 template <class ELFT>
1553 ELFDumper<ELFT>::dumpMipsABIFlags(const Elf_Shdr *Shdr) { in dumpMipsABIFlags()
1564 auto *Flags = reinterpret_cast<const object::Elf_Mips_ABIFlags<ELFT> *>( in dumpMipsABIFlags()
1580 template <class ELFT>
1581 static Error elf2yaml(raw_ostream &Out, const object::ELFFile<ELFT> &Obj, in elf2yaml()
1583 ELFDumper<ELFT> Dumper(Obj, std::move(DWARFCtx)); in elf2yaml()