Lines Matching refs:RemovePred

207     Object &Obj, SectionPred &RemovePred,  in replaceDebugSections()  argument
234 RemovePred = [ShouldReplace, RemovePred](const SectionBase &Sec) { in replaceDebugSections()
235 return ShouldReplace(Sec) || RemovePred(Sec); in replaceDebugSections()
343 SectionPred RemovePred = [](const SectionBase &) { return false; }; in replaceAndRemoveSections() local
347 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
353 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
354 return isDWOSection(Sec) || RemovePred(Sec); in replaceAndRemoveSections()
358 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
359 return onlyKeepDWOPred(Obj, Sec) || RemovePred(Sec); in replaceAndRemoveSections()
363 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
364 if (RemovePred(Sec)) in replaceAndRemoveSections()
381 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
382 return RemovePred(Sec) || Sec.ParentSegment == nullptr; in replaceAndRemoveSections()
387 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
388 return RemovePred(Sec) || isDebugSection(Sec); in replaceAndRemoveSections()
393 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
394 if (RemovePred(Sec)) in replaceAndRemoveSections()
402 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
403 if (RemovePred(Sec)) in replaceAndRemoveSections()
421 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
422 if (RemovePred(Sec)) in replaceAndRemoveSections()
432 RemovePred = [&Config, RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
438 if (RemovePred(Sec)) in replaceAndRemoveSections()
454 RemovePred = [&Config, RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
459 return RemovePred(Sec); in replaceAndRemoveSections()
470 RemovePred = [&Obj, RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
473 return RemovePred(Sec); in replaceAndRemoveSections()
479 Obj, RemovePred, isCompressable, in replaceAndRemoveSections()
491 Obj, RemovePred, in replaceAndRemoveSections()
500 return Obj.removeSections(Config.AllowBrokenLinks, RemovePred); in replaceAndRemoveSections()