Lines Matching refs:SectionBase

52 using SectionPred = std::function<bool(const SectionBase &Sec)>;
54 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
58 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
62 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
110 static void setSectionType(SectionBase &Sec, uint64_t Type) { in setSectionType()
118 static Error setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags, in setSectionFlagsAndType()
221 SmallVector<std::pair<SectionBase *, std::function<SectionBase *()>>, 0> in compressOrDecompressSections()
223 for (SectionBase &Sec : sections()) { in compressOrDecompressSections()
257 DenseMap<SectionBase *, SectionBase *> FromTo; in compressOrDecompressSections()
372 for (SectionBase &Sec : Obj.sections()) in updateAndRemoveSymbols()
418 SectionPred RemovePred = [](const SectionBase &) { return false; }; in replaceAndRemoveSections() argument
422 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
428 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
433 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
438 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
456 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
462 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
468 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
477 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
498 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
509 RemovePred = [&Config, RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
531 RemovePred = [&Config, RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
547 RemovePred = [&Obj, RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
566 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol()
691 [&Obj](const SectionBase &Sec) { return onlyKeepDWOPred(Obj, Sec); }); in handleArgs()
714 for (SectionBase &Sec : Obj.sections()) { in handleArgs()
810 DenseSet<SectionBase *> RenamedSections; in handleArgs()
811 for (SectionBase &Sec : Obj.sections()) { in handleArgs()
844 DenseSet<SectionBase *> PrefixedSections; in handleArgs()
845 for (SectionBase &Sec : Obj.sections()) { in handleArgs()
857 const SectionBase *TargetSec = RelocSec->getSection(); in handleArgs()