Lines Matching refs:COFFSection
72 class COFFSection;
84 COFFSection *Section = nullptr;
112 class COFFSection { class
122 COFFSection(StringRef Name) : Name(std::string(Name)) {} in COFFSection() function in __anon6e96ad630111::COFFSection
130 using sections = std::vector<std::unique_ptr<COFFSection>>;
133 using section_map = DenseMap<MCSection const *, COFFSection *>;
175 COFFSection *createSection(StringRef Name);
184 void SetSectionName(COFFSection &S);
186 bool IsPhysicalSection(COFFSection *S);
198 const COFFSection &Sec, const MCSection &MCSec);
261 COFFSection *WinCOFFObjectWriter::createSection(StringRef Name) { in createSection()
262 Sections.emplace_back(std::make_unique<COFFSection>(Name)); in createSection()
303 COFFSection *Section = createSection(MCSec.getName()); in defineSection()
369 COFFSection *Sec = nullptr; in DefineSymbol()
456 void WinCOFFObjectWriter::SetSectionName(COFFSection &S) { in SetSectionName()
485 bool WinCOFFObjectWriter::IsPhysicalSection(COFFSection *S) { in IsPhysicalSection()
568 std::vector<COFFSection *> Arr; in writeSectionHeaders()
571 llvm::sort(Arr, [](const COFFSection *A, const COFFSection *B) { in writeSectionHeaders()
625 const COFFSection &Sec, in writeSection()
638 COFFSection *Sec = SectionMap[&MCSec]; in writeSection()
741 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
930 static bool isAssociative(const COFFSection &Section) { in isAssociative()
937 auto Assign = [&](COFFSection &Section) { in assignSectionNumbers()
947 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
950 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
964 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
1090 COFFSection *AssocSec = SectionMap[AssocMCSec]; in writeObject()