• Home
  • Raw
  • Download

Lines Matching refs:ELFYAML

115   const ELFYAML::Object &Doc;
119 const std::vector<ELFYAML::Symbol> &Symbols);
128 void addSymbols(const std::vector<ELFYAML::Symbol> &Symbols,
131 const ELFYAML::RawContentSection &Section,
134 const ELFYAML::RelocationSection &Section,
136 bool writeSectionContent(Elf_Shdr &SHeader, const ELFYAML::Group &Group,
139 const ELFYAML::MipsABIFlags &Section,
151 ELFState(const ELFYAML::Object &D) : Doc(D) {} in ELFState()
154 static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc);
216 if (auto S = dyn_cast<ELFYAML::RawContentSection>(Sec.get())) in initSectionHeaders()
218 else if (auto S = dyn_cast<ELFYAML::RelocationSection>(Sec.get())) { in initSectionHeaders()
235 } else if (auto S = dyn_cast<ELFYAML::Group>(Sec.get())) { in initSectionHeaders()
245 } else if (auto S = dyn_cast<ELFYAML::MipsABIFlags>(Sec.get())) { in initSectionHeaders()
248 } else if (auto S = dyn_cast<ELFYAML::NoBitsSection>(Sec.get())) { in initSectionHeaders()
315 void ELFState<ELFT>::addSymbols(const std::vector<ELFYAML::Symbol> &Symbols, in addSymbols()
343 const ELFYAML::RawContentSection &Section, in writeSectionContent()
356 static bool isMips64EL(const ELFYAML::Object &Doc) { in isMips64EL()
357 return Doc.Header.Machine == ELFYAML::ELF_EM(llvm::ELF::EM_MIPS) && in isMips64EL()
358 Doc.Header.Class == ELFYAML::ELF_ELFCLASS(ELF::ELFCLASS64) && in isMips64EL()
359 Doc.Header.Data == ELFYAML::ELF_ELFDATA(ELF::ELFDATA2LSB); in isMips64EL()
365 const ELFYAML::RelocationSection &Section, in writeSectionContent()
404 const ELFYAML::Group &Section, in writeSectionContent()
434 const ELFYAML::MipsABIFlags &Section, in writeSectionContent()
483 const std::vector<ELFYAML::Symbol> &Symbols) { in buildSymbolIndex()
497 int ELFState<ELFT>::writeELF(raw_ostream &OS, const ELFYAML::Object &Doc) { in writeELF()
553 static bool is64Bit(const ELFYAML::Object &Doc) { in is64Bit()
554 return Doc.Header.Class == ELFYAML::ELF_ELFCLASS(ELF::ELFCLASS64); in is64Bit()
557 static bool isLittleEndian(const ELFYAML::Object &Doc) { in isLittleEndian()
558 return Doc.Header.Data == ELFYAML::ELF_ELFDATA(ELF::ELFDATA2LSB); in isLittleEndian()
561 int yaml2elf(llvm::ELFYAML::Object &Doc, raw_ostream &Out) { in yaml2elf()