Lines Matching defs:SectionEntry
107 struct SectionEntry {
143 SectionEntry(StringRef N, int32_t Flags)
160 virtual ~SectionEntry() = default;
168 struct CsectSectionEntry : public SectionEntry {
177 : SectionEntry(N, Flags), IsVirtual(IsVirtual), Groups(Groups) {
183 SectionEntry::reset();
192 struct DwarfSectionEntry : public SectionEntry {
215 : SectionEntry(N, Flags | XCOFF::STYP_DWARF), DwarfSect(std::move(Sect)),
244 struct ExceptionSectionEntry : public SectionEntry {
249 : SectionEntry(N, Flags | XCOFF::STYP_EXCEPT) {
277 struct CInfoSymSectionEntry : public SectionEntry {
280 CInfoSymSectionEntry(StringRef N, int32_t Flags) : SectionEntry(N, Flags) {}
288 SectionEntry::reset();
342 std::vector<SectionEntry> OverflowSections;
375 void writeSectionHeader(const SectionEntry *Sec);
420 void finalizeRelocationInfo(SectionEntry *Sec, uint64_t RelCount);
421 void calcOffsetToRelocations(SectionEntry *Sec, uint64_t &RawPointer);
1068 void XCOFFWriter::writeSectionHeader(const SectionEntry *Sec) {
1072 if (Sec->Index == SectionEntry::UninitializedIndex)
1137 if (Section->Index == SectionEntry::UninitializedIndex)
1209 if (Section->Index == SectionEntry::UninitializedIndex)
1235 void XCOFFWriter::finalizeRelocationInfo(SectionEntry *Sec, uint64_t RelCount) {
1240 SectionEntry SecEntry(".ovrflo", XCOFF::STYP_OVRFLO);
1260 void XCOFFWriter::calcOffsetToRelocations(SectionEntry *Sec,
1294 if (Section->Index == SectionEntry::UninitializedIndex)
1323 if (Sec->Index == SectionEntry::UninitializedIndex || Sec->IsVirtual)
1343 if (Sec->Index != SectionEntry::UninitializedIndex)
1588 if (CsectEntry.Index == SectionEntry::UninitializedIndex)