Lines Matching refs:isec

105   if (auto *isec = dyn_cast<InputSection>(s)) {  in getOutputSectionName()  local
106 if (InputSectionBase *rel = isec->getRelocatedSection()) { in getOutputSectionName()
691 InputSection *isec = dyn_cast_or_null<InputSection>(s); in markUsedLocalSymbols() local
692 if (!isec) in markUsedLocalSymbols()
694 if (isec->type == SHT_REL) in markUsedLocalSymbols()
695 markUsedLocalSymbolsImpl(f, isec->getDataAs<typename ELFT::Rel>()); in markUsedLocalSymbols()
696 else if (isec->type == SHT_RELA) in markUsedLocalSymbols()
697 markUsedLocalSymbolsImpl(f, isec->getDataAs<typename ELFT::Rela>()); in markUsedLocalSymbols()
807 InputSectionBase *isec = cast<InputSectionDescription>(*i)->sections[0]; in addSectionSymbols() local
810 if (isec->type == SHT_REL || isec->type == SHT_RELA) in addSectionSymbols()
816 if (isa<SyntheticSection>(isec) && !(isec->flags & SHF_MERGE)) in addSectionSymbols()
823 make<Defined>(isec->file, "", STB_LOCAL, /*stOther=*/0, STT_SECTION, in addSectionSymbols()
824 /*value=*/0, /*size=*/0, isec->getOutputSection()); in addSectionSymbols()
1115 for (InputSectionBase *isec : inputSections) in forEachRelSec()
1116 if (isec->isLive() && isa<InputSection>(isec) && (isec->flags & SHF_ALLOC)) in forEachRelSec()
1117 fn(*isec); in forEachRelSec()
1401 for (InputSection *isec : isd->sections) { in sortISDBySectionOrder()
1402 auto i = order.find(isec); in sortISDBySectionOrder()
1404 unorderedSections.push_back(isec); in sortISDBySectionOrder()
1405 unorderedSize += isec->getSize(); in sortISDBySectionOrder()
1408 orderedSections.push_back({isec, i->second}); in sortISDBySectionOrder()
1450 for (InputSection *isec : makeArrayRef(unorderedSections).slice(0, insPt)) in sortISDBySectionOrder()
1451 isd->sections.push_back(isec); in sortISDBySectionOrder()
1454 for (InputSection *isec : makeArrayRef(unorderedSections).slice(insPt)) in sortISDBySectionOrder()
1455 isd->sections.push_back(isec); in sortISDBySectionOrder()
1685 for (InputSection *&isec : isd->sections) { in resolveShfLinkOrder()
1686 if (isec->flags & SHF_LINK_ORDER) { in resolveShfLinkOrder()
1687 InputSection *link = isec->getLinkOrderDep(); in resolveShfLinkOrder()
1689 error(toString(isec) + ": sh_link points to discarded section " + in resolveShfLinkOrder()
1693 scriptSections.push_back(&isec); in resolveShfLinkOrder()
1694 sections.push_back(isec); in resolveShfLinkOrder()
1918 [=](const InputSectionBase *isec) { return isec == ss; }); in removeUnusedSyntheticSections() argument
1926 [=](InputSection *isec) { return unused.count(isec); }); in removeUnusedSyntheticSections() argument
2254 for (InputSection *isec : getInputSections(os)) in checkExecuteOnly()
2255 if (!(isec->flags & SHF_EXECINSTR)) in checkExecuteOnly()
2256 error("cannot place " + toString(isec) + " into " + toString(os->name) + in checkExecuteOnly()