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()
52 MCSection *Sec = F->getParent(); in canGetFragmentOffset() local
54 if (MCFragment *LastValid = LastValidFragment[Sec]) { in canGetFragmentOffset()
60 I = Sec->begin(); in canGetFragmentOffset()
81 MCSection *Sec = F->getParent(); in ensureValid() local
83 if (MCFragment *Cur = LastValidFragment[Sec]) in ensureValid()
86 I = Sec->begin(); in ensureValid()
90 assert(I != Sec->end() && "Layout bookkeeping error"); in ensureValid()
194 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const { in getSectionAddressSize()
196 const MCFragment &F = Sec->getFragmentList().back(); in getSectionAddressSize()
200 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const { in getSectionFileSize()
202 if (Sec->isVirtualSection()) in getSectionFileSize()
206 return getSectionAddressSize(Sec); in getSectionFileSize()