• Home
  • Raw
  • Download

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()
86 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec); in dump()
93 ErrorOr<ELFYAML::RelocationSection *> S = dumpRelaSection(&Sec); in dump()
100 ErrorOr<ELFYAML::RelocationSection *> S = dumpRelSection(&Sec); in dump()
107 ErrorOr<ELFYAML::Group *> G = dumpGroup(&Sec); in dump()
114 ErrorOr<ELFYAML::MipsABIFlags *> G = dumpMipsABIFlags(&Sec); in dump()
121 ErrorOr<ELFYAML::NoBitsSection *> S = dumpNoBitsSection(&Sec); in dump()
128 ErrorOr<ELFYAML::RawContentSection *> S = dumpContentSection(&Sec); in dump()
137 ErrorOr<StringRef> StrTableOrErr = Obj.getStringTableForSymtab(*Symtab); in dump()
182 ErrorOr<StringRef> NameOrErr = Sym->getName(StrTable); in dumpSymbol()
187 ErrorOr<const Elf_Shdr *> ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol()
212 ErrorOr<const Elf_Shdr *> StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation()
215 ErrorOr<StringRef> StrTabOrErr = Obj.getStringTable(*StrTabSec); in dumpRelocation()
220 ErrorOr<StringRef> NameOrErr = Sym->getName(StrTab); in dumpRelocation()
236 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpCommonSection()
242 ErrorOr<const Elf_Shdr *> LinkSection = Obj.getSection(Shdr->sh_link); in dumpCommonSection()
261 ErrorOr<const Elf_Shdr *> InfoSection = Obj.getSection(Shdr->sh_info); in dumpCommonRelocationSection()
265 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(*InfoSection); in dumpCommonRelocationSection()
274 ErrorOr<ELFYAML::RelocationSection *>
282 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelSection()
298 ErrorOr<ELFYAML::RelocationSection *>
306 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelaSection()
324 ErrorOr<ELFYAML::RawContentSection *>
331 ErrorOr<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(Shdr); in dumpContentSection()
341 ErrorOr<ELFYAML::NoBitsSection *>
353 ErrorOr<ELFYAML::Group *> ELFDumper<ELFT>::dumpGroup(const Elf_Shdr *Shdr) { in dumpGroup()
359 ErrorOr<const Elf_Shdr *> SymtabOrErr = Obj.getSection(Shdr->sh_link); in dumpGroup()
364 ErrorOr<StringRef> StrTabOrErr = Obj.getStringTableForSymtab(*Symtab); in dumpGroup()
371 ErrorOr<StringRef> symbolName = symbol->getName(StrTab); in dumpGroup()
383 ErrorOr<const Elf_Shdr *> sHdr = Obj.getSection(groupMembers[i]); in dumpGroup()
386 ErrorOr<StringRef> sectionName = Obj.getSectionName(*sHdr); in dumpGroup()
397 ErrorOr<ELFYAML::MipsABIFlags *>
405 ErrorOr<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(Shdr); in dumpMipsABIFlags()
429 ErrorOr<ELFYAML::Object *> YAMLOrErr = Dumper.dump(); in elf2yaml()