Lines Matching refs:COFFSection
72 class COFFSection;
84 COFFSection *Section = nullptr;
112 class COFFSection {
122 COFFSection(StringRef Name) : Name(std::string(Name)) {}
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) {
262 Sections.emplace_back(std::make_unique<COFFSection>(Name));
303 COFFSection *Section = createSection(MCSec.getName());
368 COFFSection *Sec = nullptr;
455 void WinCOFFObjectWriter::SetSectionName(COFFSection &S) {
484 bool WinCOFFObjectWriter::IsPhysicalSection(COFFSection *S) {
567 std::vector<COFFSection *> Arr;
570 llvm::sort(Arr, [](const COFFSection *A, const COFFSection *B) {
624 const COFFSection &Sec,
637 COFFSection *Sec = SectionMap[&MCSec];
740 COFFSection *Sec = SectionMap[MCSec];
924 static bool isAssociative(const COFFSection &Section) {
931 auto Assign = [&](COFFSection &Section) {
941 for (const std::unique_ptr<COFFSection> &Section : Sections)
944 for (const std::unique_ptr<COFFSection> &Section : Sections)
958 COFFSection *Sec = SectionMap[&Section];
1084 COFFSection *AssocSec = SectionMap[AssocMCSec];