Lines Matching refs:MCSec
189 uint32_t writeSectionContents(MCAssembler &Asm, const MCSection &MCSec);
295 const MCSectionCOFF &MCSec) { in defineSection() argument
296 COFFSection *Section = createSection(MCSec.getName()); in defineSection()
297 COFFSymbol *Symbol = createSymbol(MCSec.getName()); in defineSection()
299 SymbolMap[MCSec.getBeginSymbol()] = Symbol; in defineSection()
304 if (MCSec.getSelection() != COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) { in defineSection()
305 if (const MCSymbol *S = MCSec.getCOMDATSymbol()) { in defineSection()
317 Symbol->Aux[0].Aux.SectionDefinition.Selection = MCSec.getSelection(); in defineSection()
320 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection()
321 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection()
324 Section->MCSection = &MCSec; in defineSection()
325 SectionMap[&MCSec] = Section; in defineSection()
327 if (UseOffsetLabels && !MCSec.empty()) { in defineSection()
330 for (uint32_t Off = Interval, E = Asm.getSectionAddressSize(MCSec); Off < E; in defineSection()
332 auto Name = ("$L" + MCSec.getName() + "_" + Twine(N++)).str(); in defineSection()
375 MCSectionCOFF *MCSec = nullptr; in defineSymbol() local
377 MCSec = cast<MCSectionCOFF>(Base->getFragment()->getParent()); in defineSymbol()
378 Sec = SectionMap[MCSec]; in defineSymbol()
381 if (Mode == NonDwoOnly && MCSec && isDwoSection(*MCSec)) in defineSymbol()
578 const MCSection &MCSec) { in writeSectionContents() argument
583 Asm.writeSectionData(VecOS, &MCSec); in writeSectionContents()
844 MCSection *MCSec = Fragment->getParent(); in recordRelocation() local
847 assert(SectionMap.contains(MCSec) && in recordRelocation()
850 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation()
1039 const MCSectionCOFF &MCSec = *Section->MCSection; in writeObject() local
1040 const MCSymbol *AssocMCSym = MCSec.getCOMDATSymbol(); in writeObject()
1047 SMLoc(), Twine("cannot make section ") + MCSec.getName() + in writeObject()