Home
last modified time | relevance | path

Searched refs:outSecOff (Results 1 – 25 of 31) sorted by relevance

12

/openbsd-src/gnu/llvm/lld/MachO/
H A DConcatOutputSection.cpp199 isec->outSecOff = size; in finalizeOne()
361 isec->writeTo(buf + isec->outSecOff); in writeTo()
370 inputs[i]->outSecOff < thunks[t]->outSecOff)) { in writeTo()
371 inputs[i]->writeTo(buf + inputs[i]->outSecOff); in writeTo()
374 while (t < te && (i == ie || thunks[t]->outSecOff < inputs[i]->outSecOff)) { in writeTo()
375 thunks[t]->writeTo(buf + thunks[t]->outSecOff); in writeTo()
H A DRelocations.cpp74 if (*off < isec->outSecOff) in offsetToInputSection()
79 *off -= isec->outSecOff; in offsetToInputSection()
H A DInputSection.h109 uint64_t getOffset(uint64_t off) const override { return outSecOff + off; } in getOffset()
146 uint64_t outSecOff = 0; variable
177 uint64_t outSecOff = 0; member
H A DSyntheticSections.cpp436 static void encodeBinding(const OutputSection *osec, uint64_t outSecOff, in encodeBinding() argument
440 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeBinding()
826 in.objcMethnameSection->getStringOffset(methname).outSecOff); in addEntry()
1630 memcpy(buf + piece.outSecOff, string.data(), string.size()); in writeTo()
1646 piece.outSecOff = offset; in finalizeContents()
1719 if (offsetInfo.outSecOff == UINT64_MAX) { in finalizeContents()
1720 offsetInfo.outSecOff = alignTo(size, 1ULL << offsetInfo.trailingZeros); in finalizeContents()
1722 offsetInfo.outSecOff + s.size() + 1; // account for null terminator in finalizeContents()
1724 piece.outSecOff = offsetInfo.outSecOff; in finalizeContents()
1733 uint64_t off = p.second.outSecOff; in writeTo()
H A DMapFile.cpp97 liveCStrings.push_back({isec->parent->addr + piece.outSecOff, in gatherMapInfo()
H A DInputSection.cpp265 return piece.outSecOff + addend; in getOffset()
H A DUnwindInfoSection.cpp363 cu.encoding = target->modeDwarfEncoding | d->unwindEntry->outSecOff; in relocateCompactUnwind()
H A DSyntheticSections.h572 uint64_t outSecOff = UINT64_MAX; member
/openbsd-src/gnu/llvm/lld/ELF/
H A DAArch64ErrataFix.cpp484 uint64_t prevIsecLimit = isd.sections.front()->outSecOff; in insertPatches()
494 isecLimit = isec->outSecOff + isec->getSize(); in insertPatches()
499 (*patchIt)->outSecOff = prevIsecLimit; in insertPatches()
507 (*patchIt)->outSecOff = isecLimit; in insertPatches()
517 if (a->outSecOff != b->outSecOff) in insertPatches()
518 return a->outSecOff < b->outSecOff; in insertPatches()
H A DARMErrataFix.cpp367 uint64_t prevIsecLimit = isd.sections.front()->outSecOff; in insertPatches()
378 isecLimit = isec->outSecOff + isec->getSize(); in insertPatches()
383 (*patchIt)->outSecOff = prevIsecLimit; in insertPatches()
390 (*patchIt)->outSecOff = isecLimit; in insertPatches()
399 if (a->outSecOff != b->outSecOff) in insertPatches()
400 return a->outSecOff < b->outSecOff; in insertPatches()
H A DTarget.cpp103 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace()
159 secAddr += s->outSecOff; in relocateAlloc()
H A DOutputSections.cpp486 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo()
493 s->writeTo(buf + isec->outSecOff); in writeTo()
495 isec->writeTo<ELFT>(buf + isec->outSecOff); in writeTo()
499 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo()
504 end = buf + sections[i + 1]->outSecOff; in writeTo()
H A DInputSection.cpp163 return cast<InputSection>(this)->outSecOff + offset; in getOffset()
174 return isec->outSecOff + es->getParentOffset(offset); in getOffset()
180 return isec->outSecOff + ms->getParentOffset(offset); in getOffset()
443 p->r_addend += sec->file->ppc32Got2->outSecOff; in copyRelocations()
941 SignExtend64<bits>(sym.getVA(addend - offset - outSecOff))); in relocateNonAlloc()
H A DMapFile.cpp184 writeHeader(os, isec->getVA(), osec->getLMA() + isec->outSecOff, in writeMapFile()
H A DInputSection.h378 uint64_t outSecOff = 0; variable
H A DSyntheticSections.cpp524 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in getFdeData()
2919 write64le(buf, chunk.sec->outSecOff + cu.cuOffset); in writeTo()
2995 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in write()
3481 return a->outSecOff < b->outSecOff; in finalizeContents()
3506 d->outSecOff = offset; in finalizeContents()
3540 target->relocateAlloc(*d, buf + d->outSecOff); in writeTo()
3568 this->outSecOff = off; in ThunkSection()
/openbsd-src/gnu/llvm/lld/wasm/
H A DInputChunks.cpp90 ms->builder.write(buf + outSecOff); in writeTo()
92 ms->relocate(buf + outSecOff); in writeTo()
97 memcpy(buf + outSecOff, data().data(), data().size()); in writeTo()
100 relocate(buf + outSecOff); in writeTo()
176 int32_t off = outSecOff - getInputSectionOffset(); in writeRelocations()
309 buf += outSecOff; in writeCompressed()
353 return outSecOff + getChunkOffset(offset); in getOffset()
H A DMapFile.cpp83 ? chunk->outputSec->getOffset() + chunk->outSecOff in getSymbolStrings()
130 writeHeader(os, -1, chunk->outputSec->getOffset() + chunk->outSecOff, in writeMapFile()
144 ? chunk->outputSec->getOffset() + chunk->outSecOff in writeMapFile()
H A DOutputSections.cpp58 func->outSecOff = bodySize; in finalizeContents()
159 inputSeg->outSecOff = segment->sectionOffset + segment->header.size() + in finalizeContents()
252 section->outSecOff = payloadSize; in finalizeContents()
H A DInputChunks.h98 int32_t outSecOff = 0; variable
/openbsd-src/gnu/llvm/lld/ELF/Arch/
H A DX86_64.cpp179 uint64_t addrLoc = is.getOutputSection()->addr + is.outSecOff + r.offset; in isFallThruRelocation()
186 nextIS->getOutputSection()->addr + nextIS->outSecOff; in isFallThruRelocation()
991 secAddr += s->outSecOff; in relocateAlloc()
H A DPPC.cpp488 secAddr += s->outSecOff; in relocateAlloc()
H A DX86.cpp487 secAddr += s->outSecOff; in relocateAlloc()
H A DAArch64.cpp749 secAddr += s->outSecOff; in relocateAlloc()
/openbsd-src/gnu/llvm/lld/MachO/Arch/
H A DARM64.cpp621 buf = outBuf + section->outSecOff + section->parent->fileOff; in applyOptimizationHints()

12