Lines Matching refs:COFFSection

69 class COFFSection;
81 COFFSection *Section = nullptr;
109 class COFFSection { class
119 COFFSection(StringRef Name) : Name(std::string(Name)) {} in COFFSection() function in __anon1ceee7e50111::COFFSection
131 using sections = std::vector<std::unique_ptr<COFFSection>>;
134 using section_map = DenseMap<MCSection const *, COFFSection *>;
176 COFFSection *createSection(StringRef Name);
185 void SetSectionName(COFFSection &S);
187 bool IsPhysicalSection(COFFSection *S);
198 const COFFSection &Sec);
284 COFFSection *WinCOFFWriter::createSection(StringRef Name) { in createSection()
285 Sections.emplace_back(std::make_unique<COFFSection>(Name)); in createSection()
327 COFFSection *Section = createSection(MCSec.getName()); in defineSection()
406 COFFSection *Sec = nullptr; in DefineSymbol()
467 void WinCOFFWriter::SetSectionName(COFFSection &S) { in SetSectionName()
485 bool WinCOFFWriter::IsPhysicalSection(COFFSection *S) { in IsPhysicalSection()
569 std::vector<COFFSection *> Arr; in writeSectionHeaders()
572 llvm::sort(Arr, [](const COFFSection *A, const COFFSection *B) { in writeSectionHeaders()
625 const COFFSection &Sec) { in writeSection()
740 static bool isAssociative(const COFFSection &Section) { in isAssociative()
747 auto Assign = [&](COFFSection &Section) { in assignSectionNumbers()
757 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
760 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
774 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
883 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
919 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation()
1089 COFFSection *AssocSec = SectionMap[AssocMCSec]; in writeObject()
1162 for (std::unique_ptr<COFFSection> &Sec : Sections) in writeObject()