Lines Matching refs:Sec
563 void MCAssembler::writeSectionData(const MCSection *Sec,
566 if (Sec->isVirtualSection()) {
567 assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!");
570 for (const MCFragment &F : *Sec) {
582 if (auto *ELFSec = dyn_cast<const MCSectionELF>(Sec))
610 for (const MCFragment &F : *Sec)
614 Layout.getSectionAddressSize(Sec));
642 for (MCSection &Sec : *this) {
645 if (Sec.getFragmentList().empty())
646 new MCDataFragment(&Sec);
648 Sec.setOrdinal(SectionIndex++);
653 MCSection *Sec = Layout.getSectionOrder()[i];
654 Sec->setLayoutOrder(i);
657 for (MCFragment &Frag : *Sec)
681 for (MCSection &Sec : *this) {
682 for (MCFragment &Frag : Sec) {
850 bool MCAssembler::layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec) {
858 for (MCSection::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
904 MCSection &Sec = *it;
905 while (layoutSectionOnce(Layout, Sec))