Lines Matching refs:SectionHeaders
506 const ELFYAML::SectionHeaderTable &SectionHeaders = in writeELFHeader() local
511 else if (SectionHeaders.Offset) in writeELFHeader()
512 Header.e_shoff = *SectionHeaders.Offset; in writeELFHeader()
519 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()
523 else if (SectionHeaders.Offset && in writeELFHeader()
596 const ELFYAML::SectionHeaderTable &SectionHeaders = in toSectionIndex() local
598 if (SectionHeaders.IsImplicit || in toSectionIndex()
599 (SectionHeaders.NoHeaders && !*SectionHeaders.NoHeaders) || in toSectionIndex()
600 SectionHeaders.isDefault()) in toSectionIndex()
603 assert(!SectionHeaders.NoHeaders.value_or(false) || !SectionHeaders.Sections); in toSectionIndex()
605 SectionHeaders.Sections ? SectionHeaders.Sections->size() : 0; in toSectionIndex()
1784 const ELFYAML::SectionHeaderTable &SectionHeaders = in buildSectionHeaderReorderMap() local
1786 if (SectionHeaders.IsImplicit || SectionHeaders.NoHeaders || in buildSectionHeaderReorderMap()
1787 SectionHeaders.isDefault()) in buildSectionHeaderReorderMap()
1801 if (SectionHeaders.Sections) in buildSectionHeaderReorderMap()
1802 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Sections) in buildSectionHeaderReorderMap()
1805 if (SectionHeaders.Excluded) in buildSectionHeaderReorderMap()
1806 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionHeaderReorderMap()
1835 const ELFYAML::SectionHeaderTable &SectionHeaders = in buildSectionIndex() local
1837 if (SectionHeaders.Excluded) in buildSectionIndex()
1838 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionIndex()
1842 if (SectionHeaders.NoHeaders.value_or(false)) in buildSectionIndex()