Lines Matching refs:Obj
100 ELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer);
155 if (DRI.Addr < Obj->base() || in checkDRI()
156 (const uint8_t *)DRI.Addr + DRI.Size > Obj->base() + Obj->getBufSize()) in checkDRI()
162 return checkDRI({Obj->base() + P->p_offset, P->p_filesz, EntSize}); in createDRIFrom()
166 return checkDRI({Obj->base() + S->sh_offset, S->sh_size, S->sh_entsize}); in createDRIFrom()
180 const ELFO *Obj; member in __anon07d3185e0111::ELFDumper
260 StrTable = unwrapOrError(Obj->getStringTableForSymtab(*DotSymtabSec)); in printSymbolsHelper()
261 Syms = Obj->symbols(DotSymtabSec); in printSymbolsHelper()
262 SymtabName = unwrapOrError(Obj->getSectionName(DotSymtabSec)); in printSymbolsHelper()
267 ELFDumperStyle->printSymtabMessage(Obj, SymtabName, Entries); in printSymbolsHelper()
269 ELFDumperStyle->printSymbol(Obj, &Sym, Syms.begin(), StrTable, IsDynamic); in printSymbolsHelper()
279 virtual void printFileHeaders(const ELFFile<ELFT> *Obj) = 0;
280 virtual void printGroupSections(const ELFFile<ELFT> *Obj) = 0;
281 virtual void printRelocations(const ELFFile<ELFT> *Obj) = 0;
282 virtual void printSections(const ELFFile<ELFT> *Obj) = 0;
283 virtual void printSymbols(const ELFFile<ELFT> *Obj) = 0;
284 virtual void printDynamicSymbols(const ELFFile<ELFT> *Obj) = 0;
285 virtual void printDynamicRelocations(const ELFFile<ELFT> *Obj) = 0;
290 virtual void printSymbol(const ELFFile<ELFT> *Obj, const Elf_Sym *Symbol,
293 virtual void printProgramHeaders(const ELFFile<ELFT> *Obj) = 0;
294 virtual void printHashHistogram(const ELFFile<ELFT> *Obj) = 0;
306 void printFileHeaders(const ELFO *Obj) override;
307 void printGroupSections(const ELFFile<ELFT> *Obj) override;
308 void printRelocations(const ELFO *Obj) override;
309 void printSections(const ELFO *Obj) override;
310 void printSymbols(const ELFO *Obj) override;
311 void printDynamicSymbols(const ELFO *Obj) override;
312 void printDynamicRelocations(const ELFO *Obj) override;
313 virtual void printSymtabMessage(const ELFO *Obj, StringRef Name,
315 void printProgramHeaders(const ELFO *Obj) override;
316 void printHashHistogram(const ELFFile<ELFT> *Obj) override;
341 void printRelocation(const ELFO *Obj, const Elf_Shdr *SymTab,
343 void printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, const Elf_Sym *First,
345 std::string getSymbolSectionNdx(const ELFO *Obj, const Elf_Sym *Symbol,
347 void printDynamicRelocation(const ELFO *Obj, Elf_Rela R, bool IsRela);
360 void printFileHeaders(const ELFO *Obj) override;
361 void printGroupSections(const ELFFile<ELFT> *Obj) override;
362 void printRelocations(const ELFO *Obj) override;
363 void printRelocations(const Elf_Shdr *Sec, const ELFO *Obj);
364 void printSections(const ELFO *Obj) override;
365 void printSymbols(const ELFO *Obj) override;
366 void printDynamicSymbols(const ELFO *Obj) override;
367 void printDynamicRelocations(const ELFO *Obj) override;
368 void printProgramHeaders(const ELFO *Obj) override;
369 void printHashHistogram(const ELFFile<ELFT> *Obj) override;
372 void printRelocation(const ELFO *Obj, Elf_Rela Rel, const Elf_Shdr *SymTab);
373 void printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel);
374 void printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, const Elf_Sym *First,
384 static std::error_code createELFDumper(const ELFFile<ELFT> *Obj, in createELFDumper() argument
387 Result.reset(new ELFDumper<ELFT>(Obj, Writer)); in createELFDumper()
391 std::error_code createELFDumper(const object::ObjectFile *Obj, in createELFDumper() argument
395 if (const ELF32LEObjectFile *ELFObj = dyn_cast<ELF32LEObjectFile>(Obj)) in createELFDumper()
399 if (const ELF32BEObjectFile *ELFObj = dyn_cast<ELF32BEObjectFile>(Obj)) in createELFDumper()
403 if (const ELF64LEObjectFile *ELFObj = dyn_cast<ELF64LEObjectFile>(Obj)) in createELFDumper()
407 if (const ELF64BEObjectFile *ELFObj = dyn_cast<ELF64BEObjectFile>(Obj)) in createELFDumper()
421 const char *sec_start = (const char *)Obj->base() + sec->sh_offset; in LoadVersionNeeds()
455 const char *sec_start = (const char *)Obj->base() + sec->sh_offset; in LoadVersionDefs()
496 static void printVersionSymbolSection(ELFDumper<ELFT> *Dumper, const ELFO *Obj, in printVersionSymbolSection() argument
502 StringRef Name = unwrapOrError(Obj->getSectionName(Sec)); in printVersionSymbolSection()
508 const uint8_t *P = (const uint8_t *)Obj->base() + Sec->sh_offset; in printVersionSymbolSection()
530 const ELFO *Obj, in printVersionDefinitionSection() argument
548 (const uint8_t *)Obj->base() + Sec->sh_offset; in printVersionDefinitionSection()
552 unwrapOrError(Obj->getSection(Sec->sh_link)); in printVersionDefinitionSection()
565 StringRef((const char *)(Obj->base() + StrTab->sh_offset + in printVersionDefinitionSection()
576 StringRef((const char *)(Obj->base() + StrTab->sh_offset + in printVersionDefinitionSection()
586 const ELFO *Obj, in printVersionDependencySection() argument
601 const uint8_t *SecData = (const uint8_t *)Obj->base() + Sec->sh_offset; in printVersionDependencySection()
603 unwrapOrError(Obj->getSection(Sec->sh_link)); in printVersionDependencySection()
612 StringRef((const char *)(Obj->base() + StrTab->sh_offset + in printVersionDependencySection()
623 StringRef((const char *)(Obj->base() + StrTab->sh_offset + in printVersionDependencySection()
633 printVersionSymbolSection(this, Obj, dot_gnu_version_sec, W); in printVersionInfo()
636 printVersionDefinitionSection(this, Obj, dot_gnu_version_d_sec, W); in printVersionInfo()
639 printVersionDependencySection(this, Obj, dot_gnu_version_r_sec, W); in printVersionInfo()
660 Obj->template getEntry<Elf_Versym>(dot_gnu_version_sec, entry_index); in getSymbolVersion()
710 getSectionNameIndex(const ELFO &Obj, const typename ELFO::Elf_Sym *Symbol, in getSectionNameIndex() argument
730 Obj.getExtendedSymbolTableIndex(Symbol, FirstSym, ShndxTable); in getSectionNameIndex()
732 unwrapOrError(Obj.getSection(SectionIndex)); in getSectionNameIndex()
733 SectionName = unwrapOrError(Obj.getSectionName(Sec)); in getSectionNameIndex()
739 findNotEmptySectionByAddress(const ELFO *Obj, uint64_t Addr) { in findNotEmptySectionByAddress() argument
740 for (const auto &Shdr : Obj->sections()) in findNotEmptySectionByAddress()
747 static const typename ELFO::Elf_Shdr *findSectionByName(const ELFO &Obj, in findSectionByName() argument
749 for (const auto &Shdr : Obj.sections()) { in findSectionByName()
750 if (Name == unwrapOrError(Obj.getSectionName(&Shdr))) in findSectionByName()
1307 ELFDumper<ELFT>::ELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer) in ELFDumper() argument
1308 : ObjDumper(Writer), Obj(Obj) { in ELFDumper()
1311 for (const Elf_Phdr &Phdr : Obj->program_headers()) { in ELFDumper()
1321 for (const Elf_Shdr &Sec : Obj->sections()) { in ELFDumper()
1333 DynSymtabName = unwrapOrError(Obj->getSectionName(&Sec)); in ELFDumper()
1336 ShndxTable = unwrapOrError(Obj->getSHNDXTable(Sec)); in ELFDumper()
1377 return Obj->base() + Phdr.p_offset + Delta; in parseDynamicTable()
1459 ELFDumperStyle->printFileHeaders(Obj); in printFileHeaders()
1464 ELFDumperStyle->printSections(Obj); in printSections()
1469 ELFDumperStyle->printRelocations(Obj); in printRelocations()
1473 ELFDumperStyle->printProgramHeaders(Obj); in printProgramHeaders()
1477 ELFDumperStyle->printDynamicRelocations(Obj); in printDynamicRelocations()
1482 ELFDumperStyle->printSymbols(Obj); in printSymbols()
1487 ELFDumperStyle->printDynamicSymbols(Obj); in printDynamicSymbols()
1491 ELFDumperStyle->printHashHistogram(Obj); in printHashHistogram()
1739 const unsigned Machine = Obj->getHeader()->e_machine; in printUnwindInfo()
1742 W, Obj, DotSymtabSec); in printUnwindInfo()
1848 if (Obj->getHeader()->e_machine != EM_ARM) { in printAttributes()
1854 for (const ELFO::Elf_Shdr &Sec : Obj->sections()) { in printAttributes()
1858 ArrayRef<uint8_t> Contents = unwrapOrError(Obj->getSectionContents(&Sec)); in printAttributes()
1885 MipsGOTParser(ELFDumper<ELFT> *Dumper, const ELFO *Obj,
1893 const ELFO *Obj; member in __anon07d3185e0511::MipsGOTParser
1918 MipsGOTParser<ELFT>::MipsGOTParser(ELFDumper<ELFT> *Dumper, const ELFO *Obj, in MipsGOTParser() argument
1920 : Dumper(Dumper), Obj(Obj), W(W) { in MipsGOTParser()
1974 const Elf_Shdr *GOTShdr = findNotEmptySectionByAddress(Obj, *DtPltGot); in parseGOT()
1979 ArrayRef<uint8_t> GOT = unwrapOrError(Obj->getSectionContents(GOTShdr)); in parseGOT()
2040 const Elf_Shdr *PLTShdr = findNotEmptySectionByAddress(Obj, *DtMipsPltGot); in parsePLT()
2044 ArrayRef<uint8_t> PLT = unwrapOrError(Obj->getSectionContents(PLTShdr)); in parsePLT()
2046 const Elf_Shdr *PLTRelShdr = findNotEmptySectionByAddress(Obj, *DtJmpRel); in parsePLT()
2051 unwrapOrError(Obj->getSection(PLTRelShdr->sh_link)); in parsePLT()
2052 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*SymTable)); in parsePLT()
2070 for (const Elf_Rel *RI = Obj->rel_begin(PLTRelShdr), in parsePLT()
2071 *RE = Obj->rel_end(PLTRelShdr); in parsePLT()
2073 const Elf_Sym *Sym = Obj->getRelocationSymbol(&*RI, SymTable); in parsePLT()
2078 for (const Elf_Rela *RI = Obj->rela_begin(PLTRelShdr), in parsePLT()
2079 *RE = Obj->rela_end(PLTRelShdr); in parsePLT()
2081 const Elf_Sym *Sym = Obj->getRelocationSymbol(&*RI, SymTable); in parsePLT()
2122 getSectionNameIndex(*Obj, Sym, Dumper->dynamic_symbols().begin(), in printGlobalGotEntry()
2156 getSectionNameIndex(*Obj, Sym, Dumper->dynamic_symbols().begin(), in printPLTEntry()
2165 if (Obj->getHeader()->e_machine != EM_MIPS) { in printMipsPLTGOT()
2170 MipsGOTParser<ELFT> GOTParser(this, Obj, dynamic_table(), W); in printMipsPLTGOT()
2247 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".MIPS.abiflags"); in printMipsABIFlags()
2252 ArrayRef<uint8_t> Sec = unwrapOrError(Obj->getSectionContents(Shdr)); in printMipsABIFlags()
2292 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".reginfo"); in printMipsReginfo()
2297 ArrayRef<uint8_t> Sec = unwrapOrError(Obj->getSectionContents(Shdr)); in printMipsReginfo()
2309 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".MIPS.options"); in printMipsOptions()
2317 ArrayRef<uint8_t> Sec = unwrapOrError(Obj->getSectionContents(Shdr)); in printMipsOptions()
2339 for (const auto &Sec : Obj->sections()) { in printStackMap()
2340 StringRef Name = unwrapOrError(Obj->getSectionName(&Sec)); in printStackMap()
2352 unwrapOrError(Obj->getSectionContents(StackMapSection)); in printStackMap()
2359 ELFDumperStyle->printGroupSections(Obj); in printGroupSections()
2371 template <class ELFT> void GNUStyle<ELFT>::printFileHeaders(const ELFO *Obj) { in printFileHeaders() argument
2372 const Elf_Ehdr *e = Obj->getHeader(); in printFileHeaders()
2423 template <class ELFT> void GNUStyle<ELFT>::printGroupSections(const ELFO *Obj) { in printGroupSections() argument
2426 for (const Elf_Shdr &Sec : Obj->sections()) { in printGroupSections()
2429 const Elf_Shdr *Symtab = unwrapOrError(Obj->getSection(Sec.sh_link)); in printGroupSections()
2430 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*Symtab)); in printGroupSections()
2432 Obj->template getEntry<Elf_Sym>(Symtab, Sec.sh_info); in printGroupSections()
2434 Obj->template getSectionContentsAsArray<Elf_Word>(&Sec)); in printGroupSections()
2435 StringRef Name = unwrapOrError(Obj->getSectionName(&Sec)); in printGroupSections()
2442 auto Sec = unwrapOrError(Obj->getSection(Ndx)); in printGroupSections()
2443 const StringRef Name = unwrapOrError(Obj->getSectionName(Sec)); in printGroupSections()
2455 void GNUStyle<ELFT>::printRelocation(const ELFO *Obj, const Elf_Shdr *SymTab, in printRelocation() argument
2459 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*SymTab)); in printRelocation()
2468 Obj->getRelocationTypeName(R.getType(Obj->isMips64EL()), RelocName); in printRelocation()
2469 Sym = Obj->getRelocationSymbol(&R, SymTab); in printRelocation()
2472 Obj->getSection(Sym, SymTab, this->dumper()->getShndxTable())); in printRelocation()
2473 TargetName = unwrapOrError(Obj->getSectionName(Sec)); in printRelocation()
2518 template <class ELFT> void GNUStyle<ELFT>::printRelocations(const ELFO *Obj) { in printRelocations() argument
2520 for (const Elf_Shdr &Sec : Obj->sections()) { in printRelocations()
2524 StringRef Name = unwrapOrError(Obj->getSectionName(&Sec)); in printRelocations()
2531 const Elf_Shdr *SymTab = unwrapOrError(Obj->getSection(Sec.sh_link)); in printRelocations()
2533 for (const auto &R : Obj->rels(&Sec)) { in printRelocations()
2538 printRelocation(Obj, SymTab, Rela, false); in printRelocations()
2541 for (const auto &R : Obj->relas(&Sec)) in printRelocations()
2542 printRelocation(Obj, SymTab, R, true); in printRelocations()
2633 template <class ELFT> void GNUStyle<ELFT>::printSections(const ELFO *Obj) { in printSections() argument
2647 OS << "There are " << to_string(Obj->getHeader()->e_shnum) in printSections()
2649 << "0x" << to_hexString(Obj->getHeader()->e_shoff, false) << ":\n\n"; in printSections()
2666 for (const Elf_Shdr &Sec : Obj->sections()) { in printSections()
2669 Fields[1].Str = unwrapOrError(Obj->getSectionName(&Sec)); in printSections()
2670 Type = getSectionTypeString(Obj->getHeader()->e_machine, Sec.sh_type); in printSections()
2713 void GNUStyle<ELFT>::printSymtabMessage(const ELFO *Obj, StringRef Name, in printSymtabMessage() argument
2728 std::string GNUStyle<ELFT>::getSymbolSectionNdx(const ELFO *Obj, in getSymbolSectionNdx() argument
2740 SectionIndex = Obj->getExtendedSymbolTableIndex( in getSymbolSectionNdx()
2763 void GNUStyle<ELFT>::printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, in printSymbol() argument
2792 if (Obj->getHeader()->e_machine == ELF::EM_AMDGPU && in printSymbol()
2800 Section = getSymbolSectionNdx(Obj, Symbol, FirstSym); in printSymbol()
2815 template <class ELFT> void GNUStyle<ELFT>::printSymbols(const ELFO *Obj) { in printSymbols() argument
2821 void GNUStyle<ELFT>::printDynamicSymbols(const ELFO *Obj) { in printDynamicSymbols() argument
2893 void GNUStyle<ELFT>::printProgramHeaders(const ELFO *Obj) { in printProgramHeaders() argument
2899 const Elf_Ehdr *Header = Obj->getHeader(); in printProgramHeaders()
2914 for (const auto &Phdr : Obj->program_headers()) { in printProgramHeaders()
2935 OS << reinterpret_cast<const char *>(Obj->base()) + Phdr.p_offset << "]"; in printProgramHeaders()
2941 for (const Elf_Phdr &Phdr : Obj->program_headers()) { in printProgramHeaders()
2944 for (const Elf_Shdr &Sec : Obj->sections()) { in printProgramHeaders()
2955 Sections += unwrapOrError(Obj->getSectionName(&Sec)).str() + " "; in printProgramHeaders()
2963 void GNUStyle<ELFT>::printDynamicRelocation(const ELFO *Obj, Elf_Rela R, in printDynamicRelocation() argument
2973 uint32_t SymIndex = R.getSymbol(Obj->isMips64EL()); in printDynamicRelocation()
2975 Obj->getRelocationTypeName(R.getType(Obj->isMips64EL()), RelocName); in printDynamicRelocation()
3009 void GNUStyle<ELFT>::printDynamicRelocations(const ELFO *Obj) { in printDynamicRelocations() argument
3016 Obj->base(), in printDynamicRelocations()
3020 printDynamicRelocation(Obj, Rela, true); in printDynamicRelocations()
3025 Obj->base(), in printDynamicRelocations()
3033 printDynamicRelocation(Obj, Rela, false); in printDynamicRelocations()
3039 Obj->base(), in printDynamicRelocations()
3045 printDynamicRelocation(Obj, Rela, true); in printDynamicRelocations()
3053 printDynamicRelocation(Obj, Rela, false); in printDynamicRelocations()
3063 void GNUStyle<ELFT>::printHashHistogram(const ELFFile<ELFT> *Obj) { in printHashHistogram() argument
3163 template <class ELFT> void LLVMStyle<ELFT>::printFileHeaders(const ELFO *Obj) { in printFileHeaders() argument
3164 const Elf_Ehdr *e = Obj->getHeader(); in printFileHeaders()
3208 void LLVMStyle<ELFT>::printGroupSections(const ELFO *Obj) { in printGroupSections() argument
3212 for (const Elf_Shdr &Sec : Obj->sections()) { in printGroupSections()
3215 const Elf_Shdr *Symtab = unwrapOrError(Obj->getSection(Sec.sh_link)); in printGroupSections()
3216 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*Symtab)); in printGroupSections()
3217 const Elf_Sym *Sym = Obj->template getEntry<Elf_Sym>(Symtab, Sec.sh_info); in printGroupSections()
3219 Obj->template getSectionContentsAsArray<Elf_Word>(&Sec)); in printGroupSections()
3221 StringRef Name = unwrapOrError(Obj->getSectionName(&Sec)); in printGroupSections()
3230 auto Sec = unwrapOrError(Obj->getSection(Data[Member])); in printGroupSections()
3231 const StringRef Name = unwrapOrError(Obj->getSectionName(Sec)); in printGroupSections()
3242 template <class ELFT> void LLVMStyle<ELFT>::printRelocations(const ELFO *Obj) { in printRelocations() argument
3246 for (const Elf_Shdr &Sec : Obj->sections()) { in printRelocations()
3252 StringRef Name = unwrapOrError(Obj->getSectionName(&Sec)); in printRelocations()
3257 printRelocations(&Sec, Obj); in printRelocations()
3265 void LLVMStyle<ELFT>::printRelocations(const Elf_Shdr *Sec, const ELFO *Obj) { in printRelocations() argument
3266 const Elf_Shdr *SymTab = unwrapOrError(Obj->getSection(Sec->sh_link)); in printRelocations()
3270 for (const Elf_Rel &R : Obj->rels(Sec)) { in printRelocations()
3275 printRelocation(Obj, Rela, SymTab); in printRelocations()
3279 for (const Elf_Rela &R : Obj->relas(Sec)) in printRelocations()
3280 printRelocation(Obj, R, SymTab); in printRelocations()
3286 void LLVMStyle<ELFT>::printRelocation(const ELFO *Obj, Elf_Rela Rel, in printRelocation() argument
3289 Obj->getRelocationTypeName(Rel.getType(Obj->isMips64EL()), RelocName); in printRelocation()
3291 const Elf_Sym *Sym = Obj->getRelocationSymbol(&Rel, SymTab); in printRelocation()
3294 Obj->getSection(Sym, SymTab, this->dumper()->getShndxTable())); in printRelocation()
3295 TargetName = unwrapOrError(Obj->getSectionName(Sec)); in printRelocation()
3297 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*SymTab)); in printRelocation()
3304 W.printNumber("Type", RelocName, (int)Rel.getType(Obj->isMips64EL())); in printRelocation()
3306 Rel.getSymbol(Obj->isMips64EL())); in printRelocation()
3316 template <class ELFT> void LLVMStyle<ELFT>::printSections(const ELFO *Obj) { in printSections() argument
3320 for (const Elf_Shdr &Sec : Obj->sections()) { in printSections()
3323 StringRef Name = unwrapOrError(Obj->getSectionName(&Sec)); in printSections()
3329 getElfSectionType(Obj->getHeader()->e_machine, Sec.sh_type), in printSections()
3333 switch (Obj->getHeader()->e_machine) { in printSections()
3370 printRelocations(&Sec, Obj); in printSections()
3376 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*Symtab)); in printSections()
3378 for (const Elf_Sym &Sym : Obj->symbols(Symtab)) { in printSections()
3380 Obj->getSection(&Sym, Symtab, this->dumper()->getShndxTable())); in printSections()
3382 printSymbol(Obj, &Sym, Obj->symbol_begin(Symtab), StrTable, false); in printSections()
3387 ArrayRef<uint8_t> Data = unwrapOrError(Obj->getSectionContents(&Sec)); in printSections()
3395 void LLVMStyle<ELFT>::printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, in printSymbol() argument
3400 getSectionNameIndex(*Obj, Symbol, First, this->dumper()->getShndxTable(), in printSymbol()
3411 if (Obj->getHeader()->e_machine == ELF::EM_AMDGPU && in printSymbol()
3423 if (Obj->getHeader()->e_machine == EM_MIPS) { in printSymbol()
3441 template <class ELFT> void LLVMStyle<ELFT>::printSymbols(const ELFO *Obj) { in printSymbols() argument
3447 void LLVMStyle<ELFT>::printDynamicSymbols(const ELFO *Obj) { in printDynamicSymbols() argument
3453 void LLVMStyle<ELFT>::printDynamicRelocations(const ELFO *Obj) { in printDynamicRelocations() argument
3463 printDynamicRelocation(Obj, Rela); in printDynamicRelocations()
3470 printDynamicRelocation(Obj, Rela); in printDynamicRelocations()
3474 printDynamicRelocation(Obj, Rela); in printDynamicRelocations()
3481 printDynamicRelocation(Obj, Rela); in printDynamicRelocations()
3488 void LLVMStyle<ELFT>::printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel) { in printDynamicRelocation() argument
3490 Obj->getRelocationTypeName(Rel.getType(Obj->isMips64EL()), RelocName); in printDynamicRelocation()
3492 uint32_t SymIndex = Rel.getSymbol(Obj->isMips64EL()); in printDynamicRelocation()
3499 W.printNumber("Type", RelocName, (int)Rel.getType(Obj->isMips64EL())); in printDynamicRelocation()
3511 void LLVMStyle<ELFT>::printProgramHeaders(const ELFO *Obj) { in printProgramHeaders() argument
3514 for (const Elf_Phdr &Phdr : Obj->program_headers()) { in printProgramHeaders()
3517 getElfSegmentType(Obj->getHeader()->e_machine, Phdr.p_type), in printProgramHeaders()
3529 void LLVMStyle<ELFT>::printHashHistogram(const ELFFile<ELFT> *Obj) { in printHashHistogram() argument