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