Lines Matching refs:COFFSection

68 class COFFSection;
80 COFFSection *Section = nullptr;
108 class COFFSection { class
118 COFFSection(StringRef Name) : Name(std::string(Name)) {} in COFFSection() function in __anon3870acaf0111::COFFSection
129 using sections = std::vector<std::unique_ptr<COFFSection>>;
132 using section_map = DenseMap<MCSection const *, COFFSection *>;
171 COFFSection *createSection(StringRef Name);
179 void SetSectionName(COFFSection &S);
181 bool IsPhysicalSection(COFFSection *S);
190 void writeSection(MCAssembler &Asm, const COFFSection &Sec);
253 COFFSection *WinCOFFWriter::createSection(StringRef Name) { in createSection()
254 Sections.emplace_back(std::make_unique<COFFSection>(Name)); in createSection()
296 COFFSection *Section = createSection(MCSec.getName()); in defineSection()
374 COFFSection *Sec = nullptr; in defineSymbol()
439 void WinCOFFWriter::SetSectionName(COFFSection &S) { in SetSectionName()
457 bool WinCOFFWriter::IsPhysicalSection(COFFSection *S) { in IsPhysicalSection()
541 std::vector<COFFSection *> Arr; in writeSectionHeaders()
544 llvm::sort(Arr, [](const COFFSection *A, const COFFSection *B) { in writeSectionHeaders()
595 void WinCOFFWriter::writeSection(MCAssembler &Asm, const COFFSection &Sec) { in writeSection()
710 static bool isAssociative(const COFFSection &Section) { in isAssociative()
717 auto Assign = [&](COFFSection &Section) { in assignSectionNumbers()
727 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
730 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers()
743 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets()
850 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
886 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation()
1055 COFFSection *AssocSec = SectionMap[AssocMCSec]; in writeObject()
1130 for (std::unique_ptr<COFFSection> &Sec : Sections) in writeObject()