Lines Matching defs:ELFState
181 template <class ELFT> class ELFState {
314 ELFState(ELFYAML::Object &D, yaml::ErrorHandler EH);
343 ELFState<ELFT>::ELFState(ELFYAML::Object &D, yaml::ErrorHandler EH)
461 void ELFState<ELFT>::writeELFHeader(raw_ostream &OS) {
538 void ELFState<ELFT>::initProgramHeaders(std::vector<Elf_Phdr> &PHeaders) {
582 unsigned ELFState<ELFT>::toSectionIndex(StringRef S, StringRef LocSec,
619 unsigned ELFState<ELFT>::toSymbolIndex(StringRef S, StringRef LocSec,
652 bool ELFState<ELFT>::initImplicitHeader(ContiguousBlobAccumulator &CBA,
710 uint64_t ELFState<ELFT>::getSectionNameOffset(StringRef Name) {
758 void ELFState<ELFT>::initSectionHeaders(std::vector<Elf_Shdr> &SHeaders,
909 void ELFState<ELFT>::assignSectionAddress(Elf_Shdr &SHeader,
938 ELFState<ELFT>::toELFSymbols(ArrayRef<ELFYAML::Symbol> Symbols,
970 void ELFState<ELFT>::initSymtabSectionHeader(Elf_Shdr &SHeader,
1035 void ELFState<ELFT>::initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name,
1094 void ELFState<ELFT>::initDWARFSectionHeader(Elf_Shdr &SHeader, StringRef Name,
1134 template <class ELFT> void ELFState<ELFT>::reportError(const Twine &Msg) {
1139 template <class ELFT> void ELFState<ELFT>::reportError(Error Err) {
1147 ELFState<ELFT>::getPhdrFragments(const ELFYAML::ProgramHeader &Phdr,
1165 void ELFState<ELFT>::setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders,
1237 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1253 void ELFState<ELFT>::writeSectionContent(
1267 void ELFState<ELFT>::writeSectionContent(
1348 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1365 void ELFState<ELFT>::writeSectionContent(
1382 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1407 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1419 void ELFState<ELFT>::writeSectionContent(
1432 void ELFState<ELFT>::writeSectionContent(
1541 void ELFState<ELFT>::writeSectionContent(
1557 void ELFState<ELFT>::writeSectionContent(
1572 ELFState<ELFT>::alignToOffset(ContiguousBlobAccumulator &CBA, uint64_t Align,
1595 void ELFState<ELFT>::writeSectionContent(
1608 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1630 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1676 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1724 void ELFState<ELFT>::writeSectionContent(
1738 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1763 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1780 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1792 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1856 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
1907 void ELFState<ELFT>::writeFill(ELFYAML::Fill &Fill,
1923 DenseMap<StringRef, size_t> ELFState<ELFT>::buildSectionHeaderReorderMap() {
1965 template <class ELFT> void ELFState<ELFT>::buildSectionIndex() {
2000 template <class ELFT> void ELFState<ELFT>::buildSymbolIndexes() {
2015 template <class ELFT> void ELFState<ELFT>::finalizeStrings() {
2055 bool ELFState<ELFT>::writeELF(raw_ostream &OS, ELFYAML::Object &Doc,
2057 ELFState<ELFT> State(Doc, EH);
2129 return ELFState<object::ELF64LE>::writeELF(Out, Doc, EH, MaxSize);
2130 return ELFState<object::ELF64BE>::writeELF(Out, Doc, EH, MaxSize);
2133 return ELFState<object::ELF32LE>::writeELF(Out, Doc, EH, MaxSize);
2134 return ELFState<object::ELF32BE>::writeELF(Out, Doc, EH, MaxSize);