reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-readobj/ELFDumper.cpp
  190   const object::ELFObjectFile<ELFT> *getElfObject() const { return ObjF; };
  198     const ELFFile<ELFT> *Obj = ObjF->getELFFile();
  203                   ObjF->getFileName());
  208     return checkDRI({ObjF->getELFFile()->base() + P->p_offset, P->p_filesz,
  209                      EntSize, ObjF->getFileName()});
  213     return checkDRI({ObjF->getELFFile()->base() + S->sh_offset, S->sh_size,
  214                      S->sh_entsize, ObjF->getFileName()});
  333   const ELFFile<ELFT> *Obj = ObjF->getELFFile();
  343     StrTable = unwrapOrError(ObjF->getFileName(),
  345     Syms = unwrapOrError(ObjF->getFileName(), Obj->symbols(DotSymtabSec));
  347         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(DotSymtabSec));
  650       ObjF->getELFFile()->base() + Sec->sh_offset);
  689       ObjF->getELFFile()->base() + Sec->sh_offset);
  747       ObjF->getFileName(), ObjF->getELFFile()->template getEntry<Elf_Versym>(
  747       ObjF->getFileName(), ObjF->getELFFile()->template getEntry<Elf_Versym>(
  759   const ELFFile<ELFT> *Obj = ObjF->getELFFile();
  790     reportError(createError("Invalid version entry"), ObjF->getFileName());
  804     reportError(createError("Invalid string offset"), ObjF->getFileName());
  813       unwrapOrError(ObjF->getFileName(), Symbol->getName(StrTable)));
  819         ObjF->getFileName(), ObjF->getELFFile()->symbols(DotSymtabSec));
  819         ObjF->getFileName(), ObjF->getELFFile()->symbols(DotSymtabSec));
  856       SectionIndex = unwrapOrError(ObjF->getFileName(),
  859     const ELFFile<ELFT> *Obj = ObjF->getELFFile();
  861         unwrapOrError(ObjF->getFileName(), Obj->getSection(SectionIndex));
  862     SectionName = unwrapOrError(ObjF->getFileName(), Obj->getSectionName(Sec));
 1435        unwrapOrError(ObjF->getFileName(), Obj->program_headers())) {
 1445        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 1453                          ObjF->getMemoryBufferRef().getBufferSize()) {
 1457         ObjF->getFileName());
 1464         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(DynamicSec));
 1471                     ObjF->getFileName());
 1477                     ObjF->getFileName());
 1491   DynRegionInfo FromPhdr(ObjF->getFileName());
 1502   DynRegionInfo FromSec(ObjF->getFileName());
 1506         checkDRI({ObjF->getELFFile()->base() + DynamicSec->sh_offset,
 1507                   DynamicSec->sh_size, sizeof(Elf_Dyn), ObjF->getFileName()});
 1519                     ObjF->getFileName());
 1532                   ObjF->getFileName());
 1536                   ObjF->getFileName());
 1547           ObjF->getFileName());
 1553         ObjF->getFileName());
 1693     auto MappedAddrOrError = ObjF->getELFFile()->toMappedAddr(VAddr);
 1698                           ObjF->getELFFile()->getHeader()->e_machine, Tag)) +
 1701       reportWarning(std::move(Err), ObjF->getFileName());
 1743               ObjF->getFileName());
 1791                     ObjF->getFileName());
 1822   ELFDumperStyle->printFileHeaders(ObjF->getELFFile());
 1826   ELFDumperStyle->printSectionHeaders(ObjF->getELFFile());
 1830   ELFDumperStyle->printRelocations(ObjF->getELFFile());
 1836   ELFDumperStyle->printProgramHeaders(ObjF->getELFFile(), PrintProgramHeaders,
 1842   ELFDumperStyle->printVersionSymbolSection(ObjF->getELFFile(),
 1846   ELFDumperStyle->printVersionDefinitionSection(ObjF->getELFFile(),
 1850   ELFDumperStyle->printVersionDependencySection(ObjF->getELFFile(),
 1855   ELFDumperStyle->printDynamicRelocations(ObjF->getELFFile());
 1861   ELFDumperStyle->printSymbols(ObjF->getELFFile(), PrintSymbols,
 1866   ELFDumperStyle->printHashSymbols(ObjF->getELFFile());
 1870   ELFDumperStyle->printHashHistogram(ObjF->getELFFile());
 1874   ELFDumperStyle->printCGProfile(ObjF->getELFFile());
 1878   ELFDumperStyle->printNotes(ObjF->getELFFile());
 1882   ELFDumperStyle->printELFLinkerOptions(ObjF->getELFFile());
 1886   ELFDumperStyle->printStackSizes(ObjF);
 1976   switch (ObjF->getELFFile()->getHeader()->e_machine) {
 2152   DwarfCFIEH::PrinterContext<ELFT> Ctx(W, ObjF);
 2159   const ELFFile<ELF32LE> *Obj = ObjF->getELFFile();
 2162     ARM::EHABI::PrinterContext<ELF32LE> Ctx(W, Obj, ObjF->getFileName(),
 2166   DwarfCFIEH::PrinterContext<ELF32LE> Ctx(W, ObjF);
 2173   ELFDumperStyle->printDynamic(ObjF->getELFFile());
 2213     reportError(createError("No dynamic symbol section"), ObjF->getFileName());
 2222   const ELFFile<ELFT> *Obj = ObjF->getELFFile();
 2228     ELFDumperStyle->printMipsABIFlags(ObjF);
 2232     MipsGOTParser<ELFT> Parser(Obj, ObjF->getFileName(), dynamic_table(),
 2252   const ELFFile<ELF32LE> *Obj = ObjF->getELFFile();
 2260        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 2265         unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(&Sec));
 2637   const ELFFile<ELFT> *Obj = ObjF->getELFFile();
 2638   const Elf_Shdr *Shdr = findSectionByName(*Obj, ObjF->getFileName(), ".reginfo");
 2644       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2656   const ELFFile<ELFT> *Obj = ObjF->getELFFile();
 2658       findSectionByName(*Obj, ObjF->getFileName(), ".MIPS.options");
 2667       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2688   const ELFFile<ELFT> *Obj = ObjF->getELFFile();
 2690   for (const auto &Sec : unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 2692         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(&Sec));
 2703       ObjF->getFileName(), Obj->getSectionContents(StackMapSection));
 2710   ELFDumperStyle->printGroupSections(ObjF->getELFFile());
 2714   ELFDumperStyle->printAddrsig(ObjF->getELFFile());