Lines Matching defs:Sec
34 for (MCSection &Sec : Asm)
35 if (!Sec.isVirtualSection())
36 SectionOrder.push_back(&Sec);
37 for (MCSection &Sec : Asm)
38 if (Sec.isVirtualSection())
39 SectionOrder.push_back(&Sec);
43 const MCSection *Sec = F->getParent();
44 const MCFragment *LastValid = LastValidFragment.lookup(Sec);
47 assert(LastValid->getParent() == Sec);
62 MCSection *Sec = F->getParent();
64 if (MCFragment *Cur = LastValidFragment[Sec])
67 I = Sec->begin();
71 assert(I != Sec->end() && "Layout bookkeeping error");
176 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const {
178 const MCFragment &F = Sec->getFragmentList().back();
182 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const {
184 if (Sec->isVirtualSection())
188 return getSectionAddressSize(Sec);