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()
1380 std::vector<InputSection *> unorderedSections; in sortISDBySectionOrder()
1381 std::vector<std::pair<InputSection *, int>> orderedSections; in sortISDBySectionOrder()
1384 for (InputSection *isec : isd->sections) { in sortISDBySectionOrder()
1433 for (InputSection *isec : makeArrayRef(unorderedSections).slice(0, insPt)) in sortISDBySectionOrder()
1435 for (std::pair<InputSection *, int> p : orderedSections) in sortISDBySectionOrder()
1437 for (InputSection *isec : makeArrayRef(unorderedSections).slice(insPt)) in sortISDBySectionOrder()
1492 [](const InputSection *a, const InputSection *b) -> bool { in sortSection()
1532 for (InputSection *sec : getInputSections(os)) in sortSections()
1630 static bool compareByFilePosition(InputSection *a, InputSection *b) { in compareByFilePosition()
1631 InputSection *la = a->flags & SHF_LINK_ORDER ? a->getLinkOrderDep() : nullptr; in compareByFilePosition()
1632 InputSection *lb = b->flags & SHF_LINK_ORDER ? b->getLinkOrderDep() : nullptr; in compareByFilePosition()
1659 std::vector<InputSection **> scriptSections; in resolveShfLinkOrder()
1660 std::vector<InputSection *> sections; in resolveShfLinkOrder()
1668 for (InputSection *&isec : isd->sections) { in resolveShfLinkOrder()
1670 InputSection *link = isec->getLinkOrderDep(); in resolveShfLinkOrder()
1833 std::vector<InputSection *> sections = getInputSections(os); in optimizeBasicBlockJumps()
1839 InputSection *next = i + 1 < sections.size() ? sections[i + 1] : nullptr; in optimizeBasicBlockJumps()
1840 InputSection &is = *sections[i]; in optimizeBasicBlockJumps()
1855 std::vector<InputSection *> sections = getInputSections(os); in optimizeBasicBlockJumps()
1856 for (InputSection *is : sections) in optimizeBasicBlockJumps()
1891 [=](InputSection *isec) { return isec == ss; }); in removeUnusedSyntheticSections()
2219 for (InputSection *isec : getInputSections(os)) in checkExecuteOnly()