Lines Matching refs:MCSec
196 const MCSection &MCSec);
325 void WinCOFFWriter::defineSection(const MCSectionCOFF &MCSec, in defineSection() argument
327 COFFSection *Section = createSection(MCSec.getName()); in defineSection()
328 COFFSymbol *Symbol = createSymbol(MCSec.getName()); in defineSection()
334 if (MCSec.getSelection() != COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) { in defineSection()
335 if (const MCSymbol *S = MCSec.getCOMDATSymbol()) { in defineSection()
347 Symbol->Aux[0].Aux.SectionDefinition.Selection = MCSec.getSelection(); in defineSection()
350 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection()
351 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection()
354 Section->MCSection = &MCSec; in defineSection()
355 SectionMap[&MCSec] = Section; in defineSection()
357 if (UseOffsetLabels && !MCSec.getFragmentList().empty()) { in defineSection()
360 for (uint32_t Off = Interval, E = Layout.getSectionAddressSize(&MCSec); in defineSection()
362 auto Name = ("$L" + MCSec.getName() + "_" + Twine(N++)).str(); in defineSection()
607 const MCSection &MCSec) { in writeSectionContents() argument
612 Asm.writeSectionData(VecOS, &MCSec, Layout); in writeSectionContents()
877 MCSection *MCSec = Fragment->getParent(); in recordRelocation() local
880 assert(SectionMap.contains(MCSec) && in recordRelocation()
883 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
1073 const MCSectionCOFF &MCSec = *Section->MCSection; in writeObject() local
1074 const MCSymbol *AssocMCSym = MCSec.getCOMDATSymbol(); in writeObject()
1081 SMLoc(), Twine("cannot make section ") + MCSec.getName() + in writeObject()