Lines Matching refs:InputSectionBase
53 void forEachRelSec(llvm::function_ref<void(InputSectionBase &)> Fn);
94 StringRef elf::getOutputSectionName(const InputSectionBase *S) { in getOutputSectionName()
102 if (InputSectionBase *Rel = IS->getRelocatedSection()) { in getOutputSectionName()
156 for (InputSectionBase *&S : InputSections) { in combineEhFrameSections()
165 std::vector<InputSectionBase *> &V = InputSections; in combineEhFrameSections()
276 auto Add = [](InputSectionBase *Sec) { InputSections.push_back(Sec); }; in createSyntheticSections()
581 if (isa<InputSectionBase>(Sec) && !Sec->Live) in includeInSymtab()
934 llvm::function_ref<void(InputSectionBase &)> Fn) { in forEachRelSec()
940 for (InputSectionBase *IS : InputSections) in forEachRelSec()
1110 static DenseMap<const InputSectionBase *, int> buildSectionOrder() { in buildSectionOrder()
1111 DenseMap<const InputSectionBase *, int> SectionOrder; in buildSectionOrder()
1143 if (auto *Sec = dyn_cast_or_null<InputSectionBase>(D->Section)) { in buildSectionOrder()
1144 int &Priority = SectionOrder[cast<InputSectionBase>(Sec->Repl)]; in buildSectionOrder()
1171 const DenseMap<const InputSectionBase *, int> &Order) { in sortISDBySectionOrder() argument
1237 const DenseMap<const InputSectionBase *, int> &Order) { in sortSection() argument
1271 DenseMap<const InputSectionBase *, int> Order = buildSectionOrder(); in sortInputSections()
1391 if (A->kind() == InputSectionBase::Synthetic || in compareByFilePosition()
1392 B->kind() == InputSectionBase::Synthetic) in compareByFilePosition()
1393 return A->kind() != InputSectionBase::Synthetic; in compareByFilePosition()
1573 for (InputSectionBase *S : llvm::reverse(InputSections)) { in removeUnusedSyntheticSections()