Lines Matching refs:InputSection
105 if (auto *isec = dyn_cast<InputSection>(s)) { in getOutputSectionName()
192 copy = make<InputSection>(cast<InputSection>(*s)); in copySectionsIntoPartitions()
219 part.armExidx->addSection(cast<InputSection>(s))) { in combineEhSections()
353 InputSection *sec = createInterpSection(); in createSyntheticSections()
691 InputSection *isec = dyn_cast_or_null<InputSection>(s); in markUsedLocalSymbols()
1116 if (isec->isLive() && isa<InputSection>(isec) && (isec->flags & SHF_ALLOC)) in forEachRelSec()
1122 for (InputSection *ex : part.armExidx->exidxSections) in forEachRelSec()
1136 InputSection *gotSection = in.gotPlt; in setReservedSymbolSections()
1138 gotSection = in.mipsGot ? cast<InputSection>(in.mipsGot) in setReservedSymbolSections()
1139 : cast<InputSection>(in.got); in setReservedSymbolSections()
1397 std::vector<InputSection *> unorderedSections; in sortISDBySectionOrder()
1398 std::vector<std::pair<InputSection *, int>> orderedSections; in sortISDBySectionOrder()
1401 for (InputSection *isec : isd->sections) { in sortISDBySectionOrder()
1450 for (InputSection *isec : makeArrayRef(unorderedSections).slice(0, insPt)) in sortISDBySectionOrder()
1452 for (std::pair<InputSection *, int> p : orderedSections) in sortISDBySectionOrder()
1454 for (InputSection *isec : makeArrayRef(unorderedSections).slice(insPt)) in sortISDBySectionOrder()
1509 [](const InputSection *a, const InputSection *b) -> bool { in sortSection()
1549 for (InputSection *sec : getInputSections(os)) in sortSections()
1647 static bool compareByFilePosition(InputSection *a, InputSection *b) { in compareByFilePosition()
1648 InputSection *la = a->flags & SHF_LINK_ORDER ? a->getLinkOrderDep() : nullptr; in compareByFilePosition()
1649 InputSection *lb = b->flags & SHF_LINK_ORDER ? b->getLinkOrderDep() : nullptr; in compareByFilePosition()
1676 std::vector<InputSection **> scriptSections; in resolveShfLinkOrder()
1677 std::vector<InputSection *> sections; in resolveShfLinkOrder()
1685 for (InputSection *&isec : isd->sections) { in resolveShfLinkOrder()
1687 InputSection *link = isec->getLinkOrderDep(); in resolveShfLinkOrder()
1850 std::vector<InputSection *> sections = getInputSections(os); in optimizeBasicBlockJumps()
1856 InputSection *next = i + 1 < sections.size() ? sections[i + 1] : nullptr; in optimizeBasicBlockJumps()
1857 InputSection &is = *sections[i]; in optimizeBasicBlockJumps()
1872 std::vector<InputSection *> sections = getInputSections(os); in optimizeBasicBlockJumps()
1873 for (InputSection *is : sections) in optimizeBasicBlockJumps()
1926 [=](InputSection *isec) { return unused.count(isec); }); in removeUnusedSyntheticSections()
2254 for (InputSection *isec : getInputSections(os)) in checkExecuteOnly()