Lines Matching refs:COFFSection

73 class COFFSection;
85 COFFSection *Section = nullptr;
113 class COFFSection { class
123 COFFSection(StringRef Name) : Name(std::string(Name)) {} in COFFSection() function in __anon93f2c7df0111::COFFSection
133 using sections = std::vector<std::unique_ptr<COFFSection>>;
136 using section_map = DenseMap<MCSection const *, COFFSection *>;
178 COFFSection *createSection(StringRef Name);
187 void SetSectionName(COFFSection &S);
189 bool IsPhysicalSection(COFFSection *S);
201 const COFFSection &Sec, const MCSection &MCSec);
264 COFFSection *WinCOFFObjectWriter::createSection(StringRef Name) { in createSection()
265 Sections.emplace_back(std::make_unique<COFFSection>(Name)); in createSection()
307 COFFSection *Section = createSection(MCSec.getName()); in defineSection()
387 COFFSection *Sec = nullptr; in DefineSymbol()
448 void WinCOFFObjectWriter::SetSectionName(COFFSection &S) { in SetSectionName()
466 bool WinCOFFObjectWriter::IsPhysicalSection(COFFSection *S) { in IsPhysicalSection()
549 std::vector<COFFSection *> Arr; in writeSectionHeaders()
552 llvm::sort(Arr, [](const COFFSection *A, const COFFSection *B) { in writeSectionHeaders()
606 const COFFSection &Sec, in writeSection()
619 COFFSection *Sec = SectionMap[&MCSec]; in writeSection()
722 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
758 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation()
926 static bool isAssociative(const COFFSection &Section) { in isAssociative()
933 auto Assign = [&](COFFSection &Section) { in assignSectionNumbers()
943 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
946 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
960 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
1086 COFFSection *AssocSec = SectionMap[AssocMCSec]; in writeObject()