Lines Matching refs:isec

60   if (auto *isec = dyn_cast<InputSection>(s)) {  in getOutputSectionName()  local
61 if (InputSectionBase *rel = isec->getRelocatedSection()) { in getOutputSectionName()
712 static OutputDesc *createSection(InputSectionBase *isec, StringRef outsecName) { in createSection() argument
714 osd->osec.recordSection(isec); in createSection()
719 InputSectionBase *isec, StringRef outsecName) { in addInputSec() argument
727 if (isec->type == SHT_GROUP || (isec->flags & SHF_GROUP)) in addInputSec()
728 return createSection(isec, outsecName); in addInputSec()
736 if (!isa<SyntheticSection>(isec) && in addInputSec()
737 (isec->type == SHT_REL || isec->type == SHT_RELA)) { in addInputSec()
738 auto *sec = cast<InputSection>(isec); in addInputSec()
746 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
795 if (sec->partition != isec->partition) in addInputSec()
798 if (config->relocatable && (isec->flags & SHF_LINK_ORDER)) { in addInputSec()
809 if (firstIsecOut != isec->getLinkOrderDep()->getOutputSection()) in addInputSec()
813 sec->recordSection(isec); in addInputSec()
817 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
849 for (InputSectionBase *isec : inputSections) { in addOrphanSections()
853 if (config->relocatable && (isec->flags & SHF_LINK_ORDER)) in addOrphanSections()
856 if (auto *sec = dyn_cast<InputSection>(isec)) in addOrphanSections()
860 add(isec); in addOrphanSections()
862 for (InputSectionBase *depSec : isec->dependentSections) in addOrphanSections()
1046 for (InputSection *isec : cast<InputSectionDescription>(cmd)->sections) { in assignOffsets()
1047 assert(isec->getParent() == sec); in assignOffsets()
1049 dot = alignToPowerOf2(dot, isec->alignment); in assignOffsets()
1050 isec->outSecOff = dot - sec->addr; in assignOffsets()
1051 dot += isec->getSize(); in assignOffsets()