Lines Matching refs:RemovePred
223 const CopyConfig &Config, Object &Obj, SectionPred &RemovePred, in replaceDebugSections() argument
248 RemovePred = [shouldReplace, RemovePred](const SectionBase &Sec) { in replaceDebugSections()
249 return shouldReplace(Sec) || RemovePred(Sec); in replaceDebugSections()
347 SectionPred RemovePred = [](const SectionBase &) { return false; }; in handleArgs() local
351 RemovePred = [&Config](const SectionBase &Sec) { in handleArgs()
357 RemovePred = [RemovePred](const SectionBase &Sec) { in handleArgs()
358 return isDWOSection(Sec) || RemovePred(Sec); in handleArgs()
362 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
363 return onlyKeepDWOPred(Obj, Sec) || RemovePred(Sec); in handleArgs()
367 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
368 if (RemovePred(Sec)) in handleArgs()
385 RemovePred = [RemovePred](const SectionBase &Sec) { in handleArgs()
386 return RemovePred(Sec) || (Sec.Flags & SHF_ALLOC) == 0; in handleArgs()
391 RemovePred = [RemovePred](const SectionBase &Sec) { in handleArgs()
392 return RemovePred(Sec) || isDebugSection(Sec); in handleArgs()
397 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
398 if (RemovePred(Sec)) in handleArgs()
406 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
407 if (RemovePred(Sec)) in handleArgs()
418 RemovePred = [&Config, RemovePred, &Obj](const SectionBase &Sec) { in handleArgs()
424 if (RemovePred(Sec)) in handleArgs()
440 RemovePred = [&Config, RemovePred](const SectionBase &Sec) { in handleArgs()
445 return RemovePred(Sec); in handleArgs()
456 RemovePred = [&Obj, RemovePred](const SectionBase &Sec) { in handleArgs()
459 return RemovePred(Sec); in handleArgs()
464 replaceDebugSections(Config, Obj, RemovePred, isCompressable, in handleArgs()
471 Config, Obj, RemovePred, in handleArgs()
478 Obj.removeSections(RemovePred); in handleArgs()