• Home
  • Raw
  • Download

Lines Matching refs:InputSectionBase

348 bool LinkerScript::shouldKeep(InputSectionBase *s) {  in shouldKeep()
360 static bool matchConstraints(ArrayRef<InputSectionBase *> sections, in matchConstraints()
366 sections, [](InputSectionBase *sec) { return sec->flags & SHF_WRITE; }); in matchConstraints()
372 static void sortSections(MutableArrayRef<InputSectionBase *> vec, in sortSections()
374 auto alignmentComparator = [](InputSectionBase *a, InputSectionBase *b) { in sortSections()
380 auto nameComparator = [](InputSectionBase *a, InputSectionBase *b) { in sortSections()
383 auto priorityComparator = [](InputSectionBase *a, InputSectionBase *b) { in sortSections()
411 static void sortInputSections(MutableArrayRef<InputSectionBase *> vec, in sortInputSections()
425 std::vector<InputSectionBase *>
427 ArrayRef<InputSectionBase *> sections) { in computeInputSections()
428 std::vector<InputSectionBase *> ret; in computeInputSections()
436 MutableArrayRef<InputSectionBase *>(ret).slice(begin, end - begin), in computeInputSections()
448 InputSectionBase *sec = sections[i]; in computeInputSections()
489 MutableArrayRef<InputSectionBase *>(ret).slice(sizeBeforeCurrPat), in computeInputSections()
499 void LinkerScript::discard(InputSectionBase *s) { in discard()
521 std::vector<InputSectionBase *> secs(part.armExidx->exidxSections.begin(), in discardSynthetic()
525 std::vector<InputSectionBase *> matches = in discardSynthetic()
527 for (InputSectionBase *s : matches) in discardSynthetic()
533 std::vector<InputSectionBase *>
535 std::vector<InputSectionBase *> ret; in createInputSectionList()
540 for (InputSectionBase *s : cmd->sectionBases) in createInputSectionList()
553 std::vector<InputSectionBase *> v = createInputSectionList(*sec); in processSectionCommands()
558 for (InputSectionBase *s : v) in processSectionCommands()
573 for (InputSectionBase *s : v) in processSectionCommands()
584 for (InputSectionBase *s : v) in processSectionCommands()
634 static OutputSection *createSection(InputSectionBase *isec, in createSection()
643 InputSectionBase *isec, StringRef outsecName) { in addInputSec()
726 auto *firstIsec = cast<InputSectionBase>( in addInputSec()
751 std::function<void(InputSectionBase *)> add; in addOrphanSections()
752 add = [&](InputSectionBase *s) { in addOrphanSections()
770 for (InputSectionBase *depSec : s->dependentSections) in addOrphanSections()
779 for (InputSectionBase *isec : inputSections) { in addOrphanSections()
787 if (InputSectionBase *rel = sec->getRelocatedSection()) in addOrphanSections()
788 if (auto *relIS = dyn_cast_or_null<InputSectionBase>(rel->parent)) in addOrphanSections()
807 for (const InputSectionBase *sec : orphanSections) { in diagnoseOrphanHandling()