Lines Matching refs:Header
51 : Name(Name), Header() {
52 Header.sh_type = ShType;
53 Header.sh_flags = ShFlags;
54 Header.sh_addralign = ShAddralign;
55 Header.sh_entsize = ShEntsize;
69 void setSize(Elf64_Xword sh_size) { Header.sh_size = sh_size; }
70 SizeT getCurrentSize() const { return Header.sh_size; }
72 void setNameStrIndex(Elf64_Word sh_name) { Header.sh_name = sh_name; }
76 void setLinkNum(Elf64_Word sh_link) { Header.sh_link = sh_link; }
78 void setInfoNum(Elf64_Word sh_info) { Header.sh_info = sh_info; }
80 void setFileOffset(Elf64_Off sh_offset) { Header.sh_offset = sh_offset; }
82 Elf64_Xword getSectionAlign() const { return Header.sh_addralign; }
84 /// Write the section header out with the given streamer.
89 /// Section Header String Table, which is not known till later).
92 // The fields of the header. May only be partially initialized, but should
94 Elf64_Shdr Header;
191 return (LocalSymbols.size() + GlobalSymbols.size()) * Header.sh_entsize;
248 bool isRela() const { return Header.sh_type == SHT_RELA; }
317 Str.writeELFWord<IsELF64>(Header.sh_name);
318 Str.writeELFWord<IsELF64>(Header.sh_type);
319 Str.writeELFXword<IsELF64>(Header.sh_flags);
320 Str.writeAddrOrOffset<IsELF64>(Header.sh_addr);
321 Str.writeAddrOrOffset<IsELF64>(Header.sh_offset);
322 Str.writeELFXword<IsELF64>(Header.sh_size);
323 Str.writeELFWord<IsELF64>(Header.sh_link);
324 Str.writeELFWord<IsELF64>(Header.sh_info);
325 Str.writeELFXword<IsELF64>(Header.sh_addralign);
326 Str.writeELFXword<IsELF64>(Header.sh_entsize);