Lines Matching refs:Sec
56 for (const Section &Sec : Sections) { in markSymbols() local
57 for (const Relocation &R : Sec.Relocs) { in markSymbols()
91 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections() argument
92 return AssociatedSections.contains(Sec.UniqueId); in removeSections()
96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections() argument
97 bool Remove = ToRemove(Sec); in removeSections()
99 RemovedSections.insert(Sec.UniqueId); in removeSections()
121 for (Section &Sec : Sections) { in truncateSections()
122 if (ToTruncate(Sec)) { in truncateSections()
123 Sec.clearContents(); in truncateSections()
124 Sec.Relocs.clear(); in truncateSections()
125 Sec.Header.SizeOfRawData = 0; in truncateSections()