Lines Matching refs:Elf_Shdr
71 Elf_Shdr &Shdr = *reinterpret_cast<Elf_Shdr *>(B); in writeShdr()
1525 Expected<const Elf_Shdr *> Shdr = ElfFile.getSection(SymTab->Index); in initSymbolTable()
1554 Expected<const Elf_Shdr *> ShndxSec = in initSymbolTable()
1664 Expected<SectionBase &> ELFBuilder<ELFT>::makeSection(const Elf_Shdr &Shdr) { in makeSection()
1754 for (const typename ELFFile<ELFT>::Elf_Shdr &Shdr : *Sections) { in readSectionHeaders()
1790 Expected<const Elf_Shdr *> Sec = ElfFile.getSection(0); in readSections()
1847 const typename ELFFile<ELFT>::Elf_Shdr *Shdr = in readSections()
1999 Ehdr.e_shentsize = sizeof(Elf_Shdr); in writeEhdr()
2038 Elf_Shdr &Shdr = in writeShdrs()
2039 *reinterpret_cast<Elf_Shdr *>(Buf.getBufferStart() + Obj.SHOff); in writeShdrs()
2399 return Obj.SHOff + ShdrCount * sizeof(Elf_Shdr); in totalSize()
2523 uint64_t Offset = Obj.SHOff + sizeof(Elf_Shdr); in finalize()
2526 Offset += sizeof(Elf_Shdr); in finalize()