Home
last modified time | relevance | path

Searched refs:unwrapOrError (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DELFDumper.cpp301 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 …]
Dllvm-readobj.h33 template <class T> T unwrapOrError(ErrorOr<T> EO) { in unwrapOrError() function
38 template <class T> T unwrapOrError(Expected<T> EO) { in unwrapOrError() function
DARMEHABIPrinter.h374 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()
DCOFFDumper.cpp1697 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()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp260 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 …]
Dllvm-readobj.h27 template <class T> T unwrapOrError(ErrorOr<T> EO) { in unwrapOrError() function
32 template <class T> T unwrapOrError(Expected<T> EO) { in unwrapOrError() function
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.cpp610 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 …]
Dllvm-objcopy.h29 template <class T> T unwrapOrError(Expected<T> EO) { in unwrapOrError() function