Lines Matching refs:ELFYAML
32 StringRef StrTable, ELFYAML::Symbol &S);
33 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
35 ELFYAML::RelocationSection &S);
38 ELFYAML::Relocation &R);
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()
61 auto Y = make_unique<ELFYAML::Object>(); in dump()
64 Y->Header.Class = ELFYAML::ELF_ELFCLASS(Obj.getHeader()->getFileClass()); in dump()
65 Y->Header.Data = ELFYAML::ELF_ELFDATA(Obj.getHeader()->getDataEncoding()); in dump()
96 ErrorOr<ELFYAML::RelocationSection *> S = dumpRelaSection(&Sec); in dump()
99 Y->Sections.push_back(std::unique_ptr<ELFYAML::Section>(S.get())); in dump()
103 ErrorOr<ELFYAML::RelocationSection *> S = dumpRelSection(&Sec); in dump()
106 Y->Sections.push_back(std::unique_ptr<ELFYAML::Section>(S.get())); in dump()
110 ErrorOr<ELFYAML::Group *> G = dumpGroup(&Sec); in dump()
113 Y->Sections.push_back(std::unique_ptr<ELFYAML::Section>(G.get())); in dump()
117 ErrorOr<ELFYAML::MipsABIFlags *> G = dumpMipsABIFlags(&Sec); in dump()
120 Y->Sections.push_back(std::unique_ptr<ELFYAML::Section>(G.get())); in dump()
124 ErrorOr<ELFYAML::NoBitsSection *> S = dumpNoBitsSection(&Sec); in dump()
127 Y->Sections.push_back(std::unique_ptr<ELFYAML::Section>(S.get())); in dump()
131 ErrorOr<ELFYAML::RawContentSection *> S = dumpContentSection(&Sec); in dump()
134 Y->Sections.push_back(std::unique_ptr<ELFYAML::Section>(S.get())); in dump()
152 ELFYAML::Symbol S; in dump()
179 StringRef StrTable, ELFYAML::Symbol &S) { in dumpSymbol()
209 ELFYAML::Relocation &R) { in dumpRelocation()
233 ELFYAML::Section &S) { in dumpCommonSection()
260 ELFYAML::RelocationSection &S) { in dumpCommonRelocationSection()
277 ErrorOr<ELFYAML::RelocationSection *>
280 auto S = make_unique<ELFYAML::RelocationSection>(); in dumpRelSection()
291 ELFYAML::Relocation R; in dumpRelSection()
301 ErrorOr<ELFYAML::RelocationSection *>
304 auto S = make_unique<ELFYAML::RelocationSection>(); in dumpRelaSection()
316 ELFYAML::Relocation R; in dumpRelaSection()
327 ErrorOr<ELFYAML::RawContentSection *>
329 auto S = make_unique<ELFYAML::RawContentSection>(); in dumpContentSection()
344 ErrorOr<ELFYAML::NoBitsSection *>
346 auto S = make_unique<ELFYAML::NoBitsSection>(); in dumpNoBitsSection()
356 ErrorOr<ELFYAML::Group *> ELFDumper<ELFT>::dumpGroup(const Elf_Shdr *Shdr) { in dumpGroup()
357 auto S = make_unique<ELFYAML::Group>(); in dumpGroup()
381 ELFYAML::SectionOrType s; in dumpGroup()
400 ErrorOr<ELFYAML::MipsABIFlags *>
404 auto S = make_unique<ELFYAML::MipsABIFlags>(); in dumpMipsABIFlags()
432 ErrorOr<ELFYAML::Object *> YAMLOrErr = Dumper.dump(); in elf2yaml()
436 std::unique_ptr<ELFYAML::Object> YAML(YAMLOrErr.get()); in elf2yaml()