Home
last modified time | relevance | path

Searched refs:TableOrErr (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELF.h56 auto TableOrErr = Obj->sections(); in getSecIndexForError() local
57 if (TableOrErr) in getSecIndexForError()
58 return "[index " + std::to_string(Sec - &TableOrErr->front()) + "]"; in getSecIndexForError()
63 llvm::consumeError(TableOrErr.takeError()); in getSecIndexForError()
588 auto TableOrErr = sections(); in getSection() local
589 if (!TableOrErr) in getSection()
590 return TableOrErr.takeError(); in getSection()
591 return object::getSection<ELFT>(*TableOrErr, Index); in getSection()
DELFObjectFile.h974 auto TableOrErr = EF.getSHNDXTable(Sec); in create() local
975 if (!TableOrErr) in create()
976 return TableOrErr.takeError(); in create()
977 ShndxTable = *TableOrErr; in create()
/external/llvm-project/llvm/include/llvm/Object/
DELF.h63 auto TableOrErr = Obj.sections(); in getSecIndexForError() local
64 if (TableOrErr) in getSecIndexForError()
65 return "[index " + std::to_string(&Sec - &TableOrErr->front()) + "]"; in getSecIndexForError()
70 llvm::consumeError(TableOrErr.takeError()); in getSecIndexForError()
635 auto TableOrErr = sections(); in getSection() local
636 if (!TableOrErr) in getSection()
637 return TableOrErr.takeError(); in getSection()
638 return object::getSection<ELFT>(*TableOrErr, Index); in getSection()
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp89 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec); in dump() local
90 if (std::error_code EC = TableOrErr.getError()) in dump()
92 ShndxTable = *TableOrErr; in dump()
/external/llvm/include/llvm/Object/
DELFObjectFile.h783 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = EF.getSHNDXTable(Sec); in ELFObjectFile() local
784 if ((EC = TableOrErr.getError())) in ELFObjectFile()
786 ShndxTable = *TableOrErr; in ELFObjectFile()
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp317 if (Expected<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec)) { in dump() local
321 if (!ShndxTables.insert({LinkedSymTab, *TableOrErr}).second) in dump()
330 toString(TableOrErr.takeError())); in dump()