Lines Matching defs:Sec
36 static bool isDebugSection(Section &Sec) {
37 return Sec.getName().starts_with("__DWARF,");
58 for (auto &Sec : G.sections()) {
59 if (!isDebugSection(Sec))
65 dbgs() << " Preserving debug section " << Sec.getName() << "\n";
68 for (auto *Sym : Sec.symbols()) {
74 for (auto *B : Sec.blocks())
103 for (auto &Sec : G.sections()) {
104 if (Sec.blocks().empty())
108 if (Sec.getName().empty() || Sec.getName().size() > 33 ||
109 Sec.getName().find(',') > 16)
112 if (isDebugSection(Sec))
113 DebugSections.push_back({&Sec, nullptr});
114 else if (Sec.getMemLifetime() != MemLifetime::NoAlloc)
115 NonDebugSections.push_back({&Sec, nullptr});
400 for (auto &Sec : LG.sections())
401 if (MachODebugObjectSynthesizerBase::isDebugSection(Sec)) {