Lines Matching refs:ELFState

176 template <class ELFT> class ELFState {  class
309 ELFState(ELFYAML::Object &D, yaml::ErrorHandler EH);
338 ELFState<ELFT>::ELFState(ELFYAML::Object &D, yaml::ErrorHandler EH) in ELFState() function in ELFState
456 void ELFState<ELFT>::writeELFHeader(raw_ostream &OS) { in writeELFHeader()
533 void ELFState<ELFT>::initProgramHeaders(std::vector<Elf_Phdr> &PHeaders) { in initProgramHeaders()
581 unsigned ELFState<ELFT>::toSectionIndex(StringRef S, StringRef LocSec, in toSectionIndex()
619 unsigned ELFState<ELFT>::toSymbolIndex(StringRef S, StringRef LocSec, in toSymbolIndex()
652 bool ELFState<ELFT>::initImplicitHeader(ContiguousBlobAccumulator &CBA, in initImplicitHeader()
710 uint64_t ELFState<ELFT>::getSectionNameOffset(StringRef Name) { in getSectionNameOffset()
758 void ELFState<ELFT>::initSectionHeaders(std::vector<Elf_Shdr> &SHeaders, in initSectionHeaders()
909 void ELFState<ELFT>::assignSectionAddress(Elf_Shdr &SHeader, in assignSectionAddress()
938 ELFState<ELFT>::toELFSymbols(ArrayRef<ELFYAML::Symbol> Symbols, in toELFSymbols()
970 void ELFState<ELFT>::initSymtabSectionHeader(Elf_Shdr &SHeader, in initSymtabSectionHeader()
1035 void ELFState<ELFT>::initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name, in initStrtabSectionHeader()
1094 void ELFState<ELFT>::initDWARFSectionHeader(Elf_Shdr &SHeader, StringRef Name, in initDWARFSectionHeader()
1134 template <class ELFT> void ELFState<ELFT>::reportError(const Twine &Msg) { in reportError()
1139 template <class ELFT> void ELFState<ELFT>::reportError(Error Err) { in reportError()
1147 ELFState<ELFT>::getPhdrFragments(const ELFYAML::ProgramHeader &Phdr, in getPhdrFragments()
1165 void ELFState<ELFT>::setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, in setProgramHeaderLayout()
1237 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1253 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1267 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1306 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1323 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1340 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1365 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1377 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1393 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1418 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1434 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1449 ELFState<ELFT>::alignToOffset(ContiguousBlobAccumulator &CBA, uint64_t Align, in alignToOffset()
1472 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1485 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1510 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1556 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1604 void ELFState<ELFT>::writeSectionContent( in writeSectionContent()
1618 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1643 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1660 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1675 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1716 void ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, in writeSectionContent()
1767 void ELFState<ELFT>::writeFill(ELFYAML::Fill &Fill, in writeFill()
1783 DenseMap<StringRef, size_t> ELFState<ELFT>::buildSectionHeaderReorderMap() { in buildSectionHeaderReorderMap()
1825 template <class ELFT> void ELFState<ELFT>::buildSectionIndex() { in buildSectionIndex()
1860 template <class ELFT> void ELFState<ELFT>::buildSymbolIndexes() { in buildSymbolIndexes()
1875 template <class ELFT> void ELFState<ELFT>::finalizeStrings() { in finalizeStrings()
1915 bool ELFState<ELFT>::writeELF(raw_ostream &OS, ELFYAML::Object &Doc, in writeELF()
1917 ELFState<ELFT> State(Doc, EH); in writeELF()
1989 return ELFState<object::ELF64LE>::writeELF(Out, Doc, EH, MaxSize); in yaml2elf()
1990 return ELFState<object::ELF64BE>::writeELF(Out, Doc, EH, MaxSize); in yaml2elf()
1993 return ELFState<object::ELF32LE>::writeELF(Out, Doc, EH, MaxSize); in yaml2elf()
1994 return ELFState<object::ELF32BE>::writeELF(Out, Doc, EH, MaxSize); in yaml2elf()