Lines Matching refs:MCSec
196 const MCSection &MCSec);
198 const COFFSection &Sec, const MCSection &MCSec);
302 void WinCOFFObjectWriter::defineSection(const MCSectionCOFF &MCSec) {
303 COFFSection *Section = createSection(MCSec.getName());
304 COFFSymbol *Symbol = createSymbol(MCSec.getName());
310 if (MCSec.getSelection() != COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) {
311 if (const MCSymbol *S = MCSec.getCOMDATSymbol()) {
323 Symbol->Aux[0].Aux.SectionDefinition.Selection = MCSec.getSelection();
326 Section->Header.Characteristics = MCSec.getCharacteristics();
327 Section->Header.Characteristics |= getAlignment(MCSec);
330 Section->MCSection = &MCSec;
331 SectionMap[&MCSec] = Section;
600 // Write MCSec's contents. What this function does is essentially
601 // "Asm.writeSectionData(&MCSec, Layout)", but it's a bit complicated
605 const MCSection &MCSec) {
610 Asm.writeSectionData(VecOS, &MCSec, Layout);
625 const MCSection &MCSec) {
634 uint32_t CRC = writeSectionContents(Asm, Layout, MCSec);
637 COFFSection *Sec = SectionMap[&MCSec];
734 MCSection *MCSec = Fragment->getParent();
737 assert(SectionMap.find(MCSec) != SectionMap.end() &&
740 COFFSection *Sec = SectionMap[MCSec];
1068 const MCSectionCOFF &MCSec = *Section->MCSection;
1069 const MCSymbol *AssocMCSym = MCSec.getCOMDATSymbol();
1076 SMLoc(), Twine("cannot make section ") + MCSec.getName() +