Lines Matching refs:isec
104 void OutputSection::recordSection(InputSectionBase *isec) { in recordSection() argument
105 partition = isec->partition; in recordSection()
106 isec->parent = this; in recordSection()
110 isd->sectionBases.push_back(isec); in recordSection()
116 void OutputSection::commitSection(InputSection *isec) { in commitSection() argument
117 if (LLVM_UNLIKELY(type != isec->type)) { in commitSection()
120 !canMergeToProgbits(isec->type)) { in commitSection()
127 errorOrWarn("section type mismatch for " + isec->name + "\n>>> " + in commitSection()
128 toString(isec) + ": " + in commitSection()
129 getELFSectionTypeName(config->emachine, isec->type) + in commitSection()
137 type = isec->type; in commitSection()
144 entsize = isec->entsize; in commitSection()
145 flags = isec->flags; in commitSection()
148 if ((flags ^ isec->flags) & SHF_TLS) in commitSection()
150 toString(isec) + ": 0x" + utohexstr(isec->flags) + in commitSection()
154 isec->parent = this; in commitSection()
158 uint64_t andFlags = (flags & isec->flags) & andMask; in commitSection()
159 uint64_t orFlags = (flags | isec->flags) & orMask; in commitSection()
164 addralign = std::max(addralign, isec->addralign); in commitSection()
169 if (entsize != isec->entsize) in commitSection()
495 InputSection *isec = sections[i]; in writeTo() local
496 if (auto *s = dyn_cast<SyntheticSection>(isec)) in writeTo()
497 s->writeTo(buf + isec->outSecOff); in writeTo()
499 isec->writeTo<ELFT>(buf + isec->outSecOff); in writeTo()
505 convertArmInstructionstoBE8(isec, buf + isec->outSecOff); in writeTo()
509 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo()
515 if (isec->nopFiller) { in writeTo()