Searched refs:TableOrErr (Results 1 – 6 of 6) sorted by relevance
56 auto TableOrErr = Obj->sections(); in getSecIndexForError() local57 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() local589 if (!TableOrErr) in getSection()590 return TableOrErr.takeError(); in getSection()591 return object::getSection<ELFT>(*TableOrErr, Index); in getSection()
974 auto TableOrErr = EF.getSHNDXTable(Sec); in create() local975 if (!TableOrErr) in create()976 return TableOrErr.takeError(); in create()977 ShndxTable = *TableOrErr; in create()
63 auto TableOrErr = Obj.sections(); in getSecIndexForError() local64 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() local636 if (!TableOrErr) in getSection()637 return TableOrErr.takeError(); in getSection()638 return object::getSection<ELFT>(*TableOrErr, Index); in getSection()
89 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec); in dump() local90 if (std::error_code EC = TableOrErr.getError()) in dump()92 ShndxTable = *TableOrErr; in dump()
783 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = EF.getSHNDXTable(Sec); in ELFObjectFile() local784 if ((EC = TableOrErr.getError())) in ELFObjectFile()786 ShndxTable = *TableOrErr; in ELFObjectFile()
317 if (Expected<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec)) { in dump() local321 if (!ShndxTables.insert({LinkedSymTab, *TableOrErr}).second) in dump()330 toString(TableOrErr.takeError())); in dump()