Lines Matching refs:SectionBase

54 using SectionPred = std::function<bool(const SectionBase &Sec)>;
56 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
61 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
65 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
175 [&](const SectionBase &Sec) { return onlyKeepDWOPred(*DWOFile, Sec); }); in splitDWOToFile()
208 static bool isCompressed(const SectionBase &Section) { in isCompressed()
217 static bool isCompressable(const SectionBase &Section) { in isCompressable()
224 function_ref<bool(const SectionBase &)> shouldReplace, in replaceDebugSections()
225 function_ref<SectionBase *(const SectionBase *)> addSection) { in replaceDebugSections()
226 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections()
239 for (SectionBase *S : ToReplace) { in replaceDebugSections()
240 SectionBase *NewSection = addSection(S); in replaceDebugSections()
248 RemovePred = [shouldReplace, RemovePred](const SectionBase &Sec) { in replaceDebugSections()
347 SectionPred RemovePred = [](const SectionBase &) { return false; }; in handleArgs() argument
351 RemovePred = [&Config](const SectionBase &Sec) { in handleArgs()
357 RemovePred = [RemovePred](const SectionBase &Sec) { in handleArgs()
362 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
367 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
385 RemovePred = [RemovePred](const SectionBase &Sec) { in handleArgs()
391 RemovePred = [RemovePred](const SectionBase &Sec) { in handleArgs()
397 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
406 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
418 RemovePred = [&Config, RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
440 RemovePred = [&Config, RemovePred](const SectionBase &Sec) { in handleArgs()
456 RemovePred = [&Obj, RemovePred](const SectionBase &Sec) { in handleArgs()
465 [&Config, &Obj](const SectionBase *S) { in handleArgs()
472 [](const SectionBase &S) { return isa<CompressedSection>(&S); }, in handleArgs()
473 [&Obj](const SectionBase *S) { in handleArgs()