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

References

tools/llvm-readobj/ARMEHABIPrinter.h
  376   for (const Elf_Sym &Sym : unwrapOrError(FileName, ELF->symbols(Symtab)))
  402   for (const Elf_Shdr &Sec : unwrapOrError(FileName, ELF->sections())) {
  411     for (const Elf_Rel &R : unwrapOrError(FileName, ELF->rels(&Sec))) {
  421           unwrapOrError(FileName, ELF->getRelocationSymbol(&RelA, SymTab));
  574   for (const Elf_Shdr &Sec : unwrapOrError(FileName, ELF->sections())) {
tools/llvm-readobj/COFFDumper.cpp
  893     StringRef SectionName = unwrapOrError(Obj->getFileName(), S.getName());
  900     StringRef SectionName = unwrapOrError(Obj->getFileName(), S.getName());
  945       unwrapOrError(Obj->getFileName(), Section.getContents());
 1069         StringRef FrameFunc = unwrapOrError(
 1193     StringRef Filename = unwrapOrError(
 1239   return unwrapOrError(Obj->getFileName(),
 1253     StringRef SectionName = unwrapOrError(Obj->getFileName(), S.getName());
 1255       StringRef Data = unwrapOrError(Obj->getFileName(), S.getContents());
 1295   StringRef Data = unwrapOrError(Obj->getFileName(), Section.getContents());
 1324     StringRef Name = unwrapOrError(Obj->getFileName(), Sec.getName());
 1359       StringRef Data = unwrapOrError(Obj->getFileName(), Sec.getContents());
 1371     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
 1721     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
 1726         unwrapOrError(Obj->getFileName(), Section.getContents());
 1762     StringRef Name = unwrapOrError(Obj->getFileName(), S.getName());
 1766     StringRef Ref = unwrapOrError(Obj->getFileName(), S.getContents());
 1773       auto &BaseTable = unwrapOrError(Obj->getFileName(), RSF.getBaseTable());
 1793     auto Entry = unwrapOrError(Obj->getFileName(), RSF.getTableEntry(Table, i));
 1801           unwrapOrError(Obj->getFileName(), RSF.getEntrySubDir(Entry));
 1820     auto Entry = unwrapOrError(Obj->getFileName(), RSF.getTableEntry(Table, i));
 1826           unwrapOrError(Obj->getFileName(), RSF.getEntryNameString(Entry));
 1859           unwrapOrError(Obj->getFileName(), RSF.getEntrySubDir(Entry));
 1872           unwrapOrError(Obj->getFileName(), RSF.getEntryData(Entry));
 1878           unwrapOrError(Obj->getFileName(), RSF.getContents(DataEntry));
 1903       unwrapOrError(Obj->getFileName(), StackMapSection.getContents());
 1934       unwrapOrError(Obj->getFileName(), AddrsigSection.getContents());
tools/llvm-readobj/ELFDumper.cpp
  343     StrTable = unwrapOrError(ObjF->getFileName(),
  345     Syms = unwrapOrError(ObjF->getFileName(), Obj->symbols(DotSymtabSec));
  347         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(DotSymtabSec));
  746   const Elf_Versym *Versym = unwrapOrError(
  813       unwrapOrError(ObjF->getFileName(), Symbol->getName(StrTable)));
  818     Elf_Sym_Range Syms = unwrapOrError(
  856       SectionIndex = unwrapOrError(ObjF->getFileName(),
  861         unwrapOrError(ObjF->getFileName(), Obj->getSection(SectionIndex));
  862     SectionName = unwrapOrError(ObjF->getFileName(), Obj->getSectionName(Sec));
  870   for (const auto &Shdr : unwrapOrError(FileName, Obj->sections()))
  879   for (const auto &Shdr : unwrapOrError(FileName, Obj.sections()))
  880     if (Name == unwrapOrError(FileName, Obj.getSectionName(&Shdr)))
 1435        unwrapOrError(ObjF->getFileName(), Obj->program_headers())) {
 1445        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 1464         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(DynamicSec));
 1569        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 1581             unwrapOrError(ObjF->getFileName(), Obj->getSectionName(&Sec));
 1590       ShndxTable = unwrapOrError(ObjF->getFileName(), Obj->getSHNDXTable(Sec));
 2260        unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 2265         unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(&Sec));
 2353         unwrapOrError(FileName, Obj->getSectionContents(GotSec));
 2411         unwrapOrError(FileName, Obj->getSectionContents(GotSec));
 2435         unwrapOrError(FileName, Obj->getSectionContents(PltSec));
 2439     PltSymTable = unwrapOrError(FileName, Obj->getSection(PltRelSec->sh_link));
 2441         unwrapOrError(FileName, Obj->getStringTableForSymtab(*PltSymTable));
 2542     Elf_Rel_Range Rels = unwrapOrError(FileName, Obj->rels(PltRelSec));
 2543     return unwrapOrError(FileName,
 2546     Elf_Rela_Range Rels = unwrapOrError(FileName, Obj->relas(PltRelSec));
 2547     return unwrapOrError(FileName,
 2644       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2667       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2690   for (const auto &Sec : unwrapOrError(ObjF->getFileName(), Obj->sections())) {
 2692         unwrapOrError(ObjF->getFileName(), Obj->getSectionName(&Sec));
 2702   ArrayRef<uint8_t> StackMapContentsArray = unwrapOrError(
 2733   ArrayRef<typename ELFT::Shdr> Arr = unwrapOrError(FileName, Obj->sections());
 2746   ArrayRef<typename ELFT::Shdr> Arr = unwrapOrError(FileName, Obj->sections());
 2840   for (const Elf_Shdr &Sec : unwrapOrError(FileName, Obj->sections())) {
 2846         unwrapOrError(FileName, Obj->getSection(Sec.sh_link));
 2848         unwrapOrError(FileName, Obj->getStringTableForSymtab(*Symtab));
 2849     const Elf_Sym *Sym = unwrapOrError(
 2851     auto Data = unwrapOrError(
 2854     StringRef Name = unwrapOrError(FileName, Obj->getSectionName(&Sec));
 2867       auto Sec = unwrapOrError(FileName, Obj->getSection(Ndx));
 2868       const StringRef Name = unwrapOrError(FileName, Obj->getSectionName(Sec));
 2918       unwrapOrError(this->FileName, Obj->getRelocationSymbol(&R, SymTab));
 2921     const Elf_Shdr *Sec = unwrapOrError(
 2924     TargetName = unwrapOrError(this->FileName, Obj->getSectionName(Sec));
 2927         unwrapOrError(this->FileName, Obj->getStringTableForSymtab(*SymTab));
 2996   for (const Elf_Shdr &Sec : unwrapOrError(this->FileName, Obj->sections())) {
 3003     StringRef Name = unwrapOrError(this->FileName, Obj->getSectionName(&Sec));
 3010       AndroidRelas = unwrapOrError(this->FileName, Obj->android_relas(&Sec));
 3018       Elf_Relr_Range Relrs = unwrapOrError(this->FileName, Obj->relrs(&Sec));
 3019       RelrRelas = unwrapOrError(this->FileName, Obj->decode_relrs(Relrs));
 3028         unwrapOrError(this->FileName, Obj->getSection(Sec.sh_link));
 3031       for (const auto &R : unwrapOrError(this->FileName, Obj->rels(&Sec))) {
 3040       for (const auto &R : unwrapOrError(this->FileName, Obj->relas(&Sec)))
 3046         for (const auto &R : unwrapOrError(this->FileName, Obj->relrs(&Sec)))
 3194   ArrayRef<Elf_Shdr> Sections = unwrapOrError(this->FileName, Obj->sections());
 3212     Fields[1].Str = unwrapOrError<StringRef>(
 3284         unwrapOrError(this->FileName,
 3567        unwrapOrError(this->FileName, Obj->program_headers())) {
 3592        unwrapOrError(this->FileName, Obj->program_headers())) {
 3595     for (const Elf_Shdr &Sec : unwrapOrError(this->FileName, Obj->sections())) {
 3607             unwrapOrError(this->FileName, Obj->getSectionName(&Sec)).str() +
 3618   for (const Elf_Shdr &Sec : unwrapOrError(this->FileName, Obj->sections())) {
 3621           unwrapOrError(this->FileName, Obj->getSectionName(&Sec)).str() + ' ';
 3736         unwrapOrError(this->FileName, Obj->decode_relrs(Relrs));
 3770   StringRef SecName = unwrapOrError(FileName, Obj->getSectionName(Sec));
 3775       unwrapOrError(FileName, Obj->getSection(Sec->sh_link));
 3776   StringRef SymTabName = unwrapOrError(FileName, Obj->getSectionName(SymTab));
 3866       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 3872       unwrapOrError(this->FileName, Obj->getSectionContents(Sec)).data();
 3911       unwrapOrError(this->FileName, Obj->getSectionContents(Sec));
 3914       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 4663   ArrayRef<Elf_Shdr> Sections = unwrapOrError(this->FileName, Obj->sections());
 4677          unwrapOrError(this->FileName, Obj->program_headers())) {
 4839         unwrapOrError(this->FileName, EF->getSectionContents(ElfSec));
 4845         unwrapOrError(this->FileName, EF->getSection(ElfSec->sh_link));
 4939     const SectionRef FunctionSec = Obj->toSectionRef(unwrapOrError(
 4945     auto Contents = unwrapOrError(this->FileName, StackSizesSec.getContents());
 5115       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 5243   for (const Elf_Shdr &Sec : unwrapOrError(this->FileName, Obj->sections())) {
 5252     StringRef Name = unwrapOrError(this->FileName, Obj->getSectionName(&Sec));
 5267       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 5271     for (const Elf_Rel &R : unwrapOrError(this->FileName, Obj->rels(Sec))) {
 5280     for (const Elf_Rela &R : unwrapOrError(this->FileName, Obj->relas(Sec)))
 5285     Elf_Relr_Range Relrs = unwrapOrError(this->FileName, Obj->relrs(Sec));
 5291           unwrapOrError(this->FileName, Obj->decode_relrs(Relrs));
 5300          unwrapOrError(this->FileName, Obj->android_relas(Sec)))
 5313       unwrapOrError(this->FileName, Obj->getRelocationSymbol(&Rel, SymTab));
 5315     const Elf_Shdr *Sec = unwrapOrError(
 5318     TargetName = unwrapOrError(this->FileName, Obj->getSectionName(Sec));
 5321         unwrapOrError(this->FileName, Obj->getStringTableForSymtab(*SymTab));
 5346   ArrayRef<Elf_Shdr> Sections = unwrapOrError(this->FileName, Obj->sections());
 5349     StringRef Name = unwrapOrError(
 5404           unwrapOrError(this->FileName, Obj->getStringTableForSymtab(*Symtab));
 5407            unwrapOrError(this->FileName, Obj->symbols(Symtab))) {
 5408         const Elf_Shdr *SymSec = unwrapOrError(
 5414               unwrapOrError(this->FileName, Obj->symbols(Symtab)).begin(),
 5421           unwrapOrError(this->FileName, Obj->getSectionContents(&Sec));
 5545         unwrapOrError(this->FileName, Obj->decode_relrs(Relrs));
 5600        unwrapOrError(this->FileName, Obj->program_headers())) {
 5651       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 5697       unwrapOrError(this->FileName, Obj->getSection(Sec->sh_link));
 5739   auto CGProfile = unwrapOrError(
 5746         unwrapOrError(this->FileName,
 5751         unwrapOrError(this->FileName,
 5778   ArrayRef<uint8_t> Contents = unwrapOrError(
 5906   ArrayRef<Elf_Shdr> Sections = unwrapOrError(this->FileName, Obj->sections());
 5921          unwrapOrError(this->FileName, Obj->program_headers())) {
 5939   for (const Elf_Shdr &Shdr : unwrapOrError(this->FileName, Obj->sections())) {
 5944         unwrapOrError(this->FileName, Obj->getSectionContents(&Shdr));
 6094       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
tools/llvm-readobj/MachODumper.cpp
  468     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
  509       W.printBinaryBlock("SectionData", unwrapOrError(Obj->getFileName(),
  519     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
  565       TargetName = unwrapOrError(Obj->getFileName(), SecI->getName());
  638     SectionName = unwrapOrError(Obj->getFileName(), SecI->getName());
  683       unwrapOrError(Obj->getFileName(), StackMapSection.getContents());
tools/llvm-readobj/ObjDumper.cpp
   56     StringRef SecName = unwrapOrError(Obj->getFileName(), SecRef.getName());
   89         unwrapOrError(Obj->getFileName(), Section.getName());
   97         unwrapOrError(Obj->getFileName(), Section.getContents());
  124         unwrapOrError(Obj->getFileName(), Section.getName());
  132         unwrapOrError(Obj->getFileName(), Section.getContents());
tools/llvm-readobj/WasmDumper.cpp
   94     SymName = unwrapOrError(Obj->getFileName(), SI->getName());
  137     StringRef Name = unwrapOrError(Obj->getFileName(), Section.getName());
tools/llvm-readobj/XCOFFDumper.cpp
  149     auto Relocations = unwrapOrError(Obj.getFileName(), Obj.relocations(Sec));
  156       StringRef SymbolName = unwrapOrError(
  185       unwrapOrError(Obj.getFileName(), Obj.getCFileName(AuxEntPtr));
  331       unwrapOrError(Obj.getFileName(), Obj.getSymbolName(SymbolDRI));
  340       unwrapOrError(Obj.getFileName(), Obj.getSymbolSectionName(SymbolEntPtr));