• Home
  • Raw
  • Download

Lines Matching refs:SectionBase

53 using SectionPred = std::function<bool(const SectionBase &Sec)>;
55 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
60 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
64 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
102 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType()
272 auto OnlyKeepDWOPred = [&DWOFile](const SectionBase &Sec) { in splitDWOToFile()
314 static bool isCompressable(const SectionBase &Sec) { in isCompressable()
321 function_ref<bool(const SectionBase &)> ShouldReplace, in replaceDebugSections()
322 function_ref<Expected<SectionBase *>(const SectionBase *)> AddSection) { in replaceDebugSections()
326 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections()
332 DenseMap<SectionBase *, SectionBase *> FromTo; in replaceDebugSections()
333 for (SectionBase *S : ToReplace) { in replaceDebugSections()
334 Expected<SectionBase *> NewSection = AddSection(S); in replaceDebugSections()
347 RemovePred = [ShouldReplace, RemovePred](const SectionBase &Sec) { in replaceDebugSections()
414 for (SectionBase &Sec : Obj.sections()) in updateAndRemoveSymbols()
456 SectionPred RemovePred = [](const SectionBase &) { return false; }; in replaceAndRemoveSections() argument
460 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
466 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
471 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
476 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
494 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
500 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
506 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
515 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
534 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
545 RemovePred = [&Config, RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
567 RemovePred = [&Config, RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
583 RemovePred = [&Obj, RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
593 [&Config, &Obj](const SectionBase *S) -> Expected<SectionBase *> { in replaceAndRemoveSections()
605 [](const SectionBase &S) { return isa<CompressedSection>(&S); }, in replaceAndRemoveSections()
606 [&Obj](const SectionBase *S) { in replaceAndRemoveSections()
658 for (SectionBase &Sec : Obj.sections()) { in handleArgs()
673 DenseSet<SectionBase *> PrefixedSections; in handleArgs()
674 for (SectionBase &Sec : Obj.sections()) { in handleArgs()
686 const SectionBase *TargetSec = RelocSec->getSection(); in handleArgs()
715 for (SectionBase &Sec : Obj.sections()) { in handleArgs()
756 SectionBase *Sec = Obj.findSection(SI.SectionName); in handleArgs()