Lines Matching refs:Sec
33 static void preserveDWARFSection(LinkGraph &G, Section &Sec) { in preserveDWARFSection() argument
35 for (auto Sym : Sec.symbols()) { in preserveDWARFSection()
41 for (auto Block : Sec.blocks()) { in preserveDWARFSection()
50 static SmallVector<char, 0> getSectionData(Section &Sec) { in getSectionData() argument
52 SmallVector<Block *, 8> SecBlocks(Sec.blocks().begin(), Sec.blocks().end()); in getSectionData()
84 for (auto &Sec : G.sections()) { in preserveDebugSections() local
85 if (DWARFSectionNames.count(Sec.getName())) { in preserveDebugSections()
86 LLVM_DEBUG(dbgs() << "Preserving DWARF section " << Sec.getName() in preserveDebugSections()
88 preserveDWARFSection(G, Sec); in preserveDebugSections()
103 for (auto &Sec : G.sections()) { in createDWARFContext() local
104 if (DWARFSectionNames.count(Sec.getName())) { in createDWARFContext()
105 auto SecData = getSectionData(Sec); in createDWARFContext()
106 auto Name = Sec.getName(); in createDWARFContext()