Lines Matching refs:isec

105 void OutputSection::recordSection(InputSectionBase *isec) {  in recordSection()  argument
106 partition = isec->partition; in recordSection()
107 isec->parent = this; in recordSection()
111 isd->sectionBases.push_back(isec); in recordSection()
117 void OutputSection::commitSection(InputSection *isec) { in commitSection() argument
118 if (LLVM_UNLIKELY(type != isec->type)) { in commitSection()
120 type = isec->type; in commitSection()
121 } else if (isStaticRelSecType(type) && isStaticRelSecType(isec->type) && in commitSection()
122 (type == SHT_CREL) != (isec->type == SHT_CREL)) { in commitSection()
133 !canMergeToProgbits(isec->type)) { in commitSection()
140 errorOrWarn("section type mismatch for " + isec->name + "\n>>> " + in commitSection()
141 toString(isec) + ": " + in commitSection()
142 getELFSectionTypeName(config->emachine, isec->type) + in commitSection()
155 entsize = isec->entsize; in commitSection()
156 flags = isec->flags; in commitSection()
159 if ((flags ^ isec->flags) & SHF_TLS) in commitSection()
161 toString(isec) + ": 0x" + utohexstr(isec->flags) + in commitSection()
165 isec->parent = this; in commitSection()
169 uint64_t andFlags = (flags & isec->flags) & andMask; in commitSection()
170 uint64_t orFlags = (flags | isec->flags) & orMask; in commitSection()
175 addralign = std::max(addralign, isec->addralign); in commitSection()
180 if (entsize != isec->entsize) in commitSection()
533 InputSection *isec = sections[i]; in writeTo() local
534 if (auto *s = dyn_cast<SyntheticSection>(isec)) in writeTo()
535 s->writeTo(buf + isec->outSecOff); in writeTo()
537 isec->writeTo<ELFT>(buf + isec->outSecOff); in writeTo()
543 convertArmInstructionstoBE8(isec, buf + isec->outSecOff); in writeTo()
547 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo()
553 if (isec->nopFiller) { in writeTo()