Lines Matching defs:isec

94 // Record that isec will be placed in the OutputSection. isec does not become
101 // 3. Call commitSection(isec).
102 void OutputSection::recordSection(InputSectionBase *isec) {
103 partition = isec->partition;
104 isec->parent = this;
108 isd->sectionBases.push_back(isec);
112 // isec. Also check whether the InputSection flags and type are consistent with
114 void OutputSection::commitSection(InputSection *isec) {
115 if (LLVM_UNLIKELY(type != isec->type)) {
117 type = isec->type;
118 } else if (isStaticRelSecType(type) && isStaticRelSecType(isec->type) &&
119 (type == SHT_CREL) != (isec->type == SHT_CREL)) {
130 !canMergeToProgbits(ctx, isec->type)) {
137 Err(ctx) << "section type mismatch for " << isec->name << "\n>>> "
138 << isec << ": "
139 << getELFSectionTypeName(ctx.arg.emachine, isec->type)
150 // initialize type, entsize and flags from isec.
152 entsize = isec->entsize;
153 flags = isec->flags;
156 if ((flags ^ isec->flags) & SHF_TLS)
158 << isec << ": 0x" << utohexstr(isec->flags, true)
163 isec->parent = this;
167 uint64_t andFlags = (flags & isec->flags) & andMask;
168 uint64_t orFlags = (flags | isec->flags) & orMask;
173 addralign = std::max(addralign, isec->addralign);
178 if (entsize != isec->entsize)
544 InputSection *isec = sections[i];
545 if (auto *s = dyn_cast<SyntheticSection>(isec))
546 s->writeTo(buf + isec->outSecOff);
548 isec->writeTo<ELFT>(ctx, buf + isec->outSecOff);
554 convertArmInstructionstoBE8(ctx, isec, buf + isec->outSecOff);
558 uint8_t *start = buf + isec->outSecOff + isec->getSize();
564 if (isec->nopFiller) {