Searched refs:unwrapOrError (Results 1 – 8 of 8) sorted by relevance
301 StrTable = unwrapOrError(Obj->getStringTableForSymtab(*DotSymtabSec)); in printSymbolsHelper()302 Syms = unwrapOrError(Obj->symbols(DotSymtabSec)); in printSymbolsHelper()303 SymtabName = unwrapOrError(Obj->getSectionName(DotSymtabSec)); in printSymbolsHelper()572 StringRef Name = unwrapOrError(Obj->getSectionName(Sec)); in printVersionSymbolSection()622 unwrapOrError(Obj->getSection(Sec->sh_link)); in printVersionDefinitionSection()673 unwrapOrError(Obj->getSection(Sec->sh_link)); in printVersionDependencySection()729 const Elf_Versym *vs = unwrapOrError( in getSymbolVersion()763 StringRef StrTable = unwrapOrError(Obj->getStringTableForSymtab(*DotSymtabSec)); in getStaticSymbolName()764 Elf_Sym_Range Syms = unwrapOrError(Obj->symbols(DotSymtabSec)); in getStaticSymbolName()768 return unwrapOrError(Sym->getName(StrTable)); in getStaticSymbolName()[all …]
33 template <class T> T unwrapOrError(ErrorOr<T> EO) { in unwrapOrError() function38 template <class T> T unwrapOrError(Expected<T> EO) { in unwrapOrError() function
374 for (const Elf_Sym &Sym : unwrapOrError(ELF->symbols(Symtab))) in FunctionAtAddress()400 for (const Elf_Shdr &Sec : unwrapOrError(ELF->sections())) { in FindExceptionTable()409 for (const Elf_Rel &R : unwrapOrError(ELF->rels(&Sec))) { in FindExceptionTable()419 unwrapOrError(ELF->getRelocationSymbol(&RelA, SymTab)); in FindExceptionTable()570 for (const Elf_Shdr &Sec : unwrapOrError(ELF->sections())) { in PrintUnwindInformation()
1697 auto &BaseTable = unwrapOrError(RSF.getBaseTable()); in printCOFFResources()1717 auto Entry = unwrapOrError(getResourceDirectoryTableEntry(Table, i)); in countTotalTableEntries()1724 auto &NextTable = unwrapOrError(RSF.getEntrySubDir(Entry)); in countTotalTableEntries()1743 auto Entry = unwrapOrError(getResourceDirectoryTableEntry(Table, i)); in printResourceDirectoryTable()1748 ArrayRef<UTF16> RawEntryNameString = unwrapOrError(RSF.getEntryNameString(Entry)); in printResourceDirectoryTable()1781 auto &NextTable = unwrapOrError(RSF.getEntrySubDir(Entry)); in printResourceDirectoryTable()
260 StrTable = unwrapOrError(Obj->getStringTableForSymtab(*DotSymtabSec)); in printSymbolsHelper()262 SymtabName = unwrapOrError(Obj->getSectionName(DotSymtabSec)); in printSymbolsHelper()502 StringRef Name = unwrapOrError(Obj->getSectionName(Sec)); in printVersionSymbolSection()552 unwrapOrError(Obj->getSection(Sec->sh_link)); in printVersionDefinitionSection()603 unwrapOrError(Obj->getSection(Sec->sh_link)); in printVersionDependencySection()695 StringRef SymbolName = unwrapOrError(Symbol->getName(StrTable)); in getFullSymbolName()732 unwrapOrError(Obj.getSection(SectionIndex)); in getSectionNameIndex()733 SectionName = unwrapOrError(Obj.getSectionName(Sec)); in getSectionNameIndex()750 if (Name == unwrapOrError(Obj.getSectionName(&Shdr))) in findSectionByName()1333 DynSymtabName = unwrapOrError(Obj->getSectionName(&Sec)); in ELFDumper()[all …]
27 template <class T> T unwrapOrError(ErrorOr<T> EO) { in unwrapOrError() function32 template <class T> T unwrapOrError(Expected<T> EO) { in unwrapOrError() function
610 for (const auto &Phdr : unwrapOrError(ElfFile.program_headers())) { in readProgramHeaders()703 const Elf_Shdr &Shdr = *unwrapOrError(ElfFile.getSection(SymTab->Index)); in initSymbolTable()704 StringRef StrTabData = unwrapOrError(ElfFile.getStringTableForSymtab(Shdr)); in initSymbolTable()707 auto Symbols = unwrapOrError(ElfFile.symbols(&Shdr)); in initSymbolTable()710 StringRef Name = unwrapOrError(Sym.getName(StrTabData)); in initSymbolTable()718 *unwrapOrError(ElfFile.getSection(SymTab->getShndxTable()->Index)); in initSymbolTable()719 ShndxData = unwrapOrError( in initSymbolTable()791 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()800 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()808 Data = unwrapOrError(ElfFile.getSectionContents(&Shdr)); in makeSection()[all …]
29 template <class T> T unwrapOrError(Expected<T> EO) { in unwrapOrError() function