Lines Matching refs:ErrorOr
40 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr);
41 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr);
42 ErrorOr<ELFYAML::RawContentSection *>
44 ErrorOr<ELFYAML::NoBitsSection *> dumpNoBitsSection(const Elf_Shdr *Shdr);
45 ErrorOr<ELFYAML::Group *> dumpGroup(const Elf_Shdr *Shdr);
46 ErrorOr<ELFYAML::MipsABIFlags *> dumpMipsABIFlags(const Elf_Shdr *Shdr);
50 ErrorOr<ELFYAML::Object *> dump();
60 ErrorOr<ELFYAML::Object *> ELFDumper<ELFT>::dump() { in dump()
89 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec); in dump()
96 ErrorOr<ELFYAML::RelocationSection *> S = dumpRelaSection(&Sec); in dump()
103 ErrorOr<ELFYAML::RelocationSection *> S = dumpRelSection(&Sec); in dump()
110 ErrorOr<ELFYAML::Group *> G = dumpGroup(&Sec); in dump()
117 ErrorOr<ELFYAML::MipsABIFlags *> G = dumpMipsABIFlags(&Sec); in dump()
124 ErrorOr<ELFYAML::NoBitsSection *> S = dumpNoBitsSection(&Sec); in dump()
131 ErrorOr<ELFYAML::RawContentSection *> S = dumpContentSection(&Sec); in dump()
140 ErrorOr<StringRef> StrTableOrErr = Obj.getStringTableForSymtab(*Symtab); in dump()
190 ErrorOr<const Elf_Shdr *> ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol()
197 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpSymbol()
215 ErrorOr<const Elf_Shdr *> StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation()
218 ErrorOr<StringRef> StrTabOrErr = Obj.getStringTable(*StrTabSec); in dumpRelocation()
239 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpCommonSection()
245 ErrorOr<const Elf_Shdr *> LinkSection = Obj.getSection(Shdr->sh_link); in dumpCommonSection()
264 ErrorOr<const Elf_Shdr *> InfoSection = Obj.getSection(Shdr->sh_info); in dumpCommonRelocationSection()
268 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(*InfoSection); in dumpCommonRelocationSection()
277 ErrorOr<ELFYAML::RelocationSection *>
285 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelSection()
301 ErrorOr<ELFYAML::RelocationSection *>
309 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelaSection()
327 ErrorOr<ELFYAML::RawContentSection *>
334 ErrorOr<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(Shdr); in dumpContentSection()
344 ErrorOr<ELFYAML::NoBitsSection *>
356 ErrorOr<ELFYAML::Group *> ELFDumper<ELFT>::dumpGroup(const Elf_Shdr *Shdr) { in dumpGroup()
362 ErrorOr<const Elf_Shdr *> SymtabOrErr = Obj.getSection(Shdr->sh_link); in dumpGroup()
367 ErrorOr<StringRef> StrTabOrErr = Obj.getStringTableForSymtab(*Symtab); in dumpGroup()
386 ErrorOr<const Elf_Shdr *> sHdr = Obj.getSection(groupMembers[i]); in dumpGroup()
389 ErrorOr<StringRef> sectionName = Obj.getSectionName(*sHdr); in dumpGroup()
400 ErrorOr<ELFYAML::MipsABIFlags *>
408 ErrorOr<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(Shdr); in dumpMipsABIFlags()
432 ErrorOr<ELFYAML::Object *> YAMLOrErr = Dumper.dump(); in elf2yaml()