| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | ConcatOutputSection.cpp | 199 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 D | Relocations.cpp | 74 if (*off < isec->outSecOff) in offsetToInputSection() 79 *off -= isec->outSecOff; in offsetToInputSection()
|
| H A D | InputSection.h | 109 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 D | SyntheticSections.cpp | 436 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 D | MapFile.cpp | 97 liveCStrings.push_back({isec->parent->addr + piece.outSecOff, in gatherMapInfo()
|
| H A D | InputSection.cpp | 265 return piece.outSecOff + addend; in getOffset()
|
| H A D | UnwindInfoSection.cpp | 363 cu.encoding = target->modeDwarfEncoding | d->unwindEntry->outSecOff; in relocateCompactUnwind()
|
| H A D | SyntheticSections.h | 572 uint64_t outSecOff = UINT64_MAX; member
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | AArch64ErrataFix.cpp | 484 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 D | ARMErrataFix.cpp | 367 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 D | Target.cpp | 103 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace() 159 secAddr += s->outSecOff; in relocateAlloc()
|
| H A D | OutputSections.cpp | 486 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 D | InputSection.cpp | 163 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 D | MapFile.cpp | 184 writeHeader(os, isec->getVA(), osec->getLMA() + isec->outSecOff, in writeMapFile()
|
| H A D | InputSection.h | 378 uint64_t outSecOff = 0; variable
|
| H A D | SyntheticSections.cpp | 524 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 D | InputChunks.cpp | 90 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 D | MapFile.cpp | 83 ? 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 D | OutputSections.cpp | 58 func->outSecOff = bodySize; in finalizeContents() 159 inputSeg->outSecOff = segment->sectionOffset + segment->header.size() + in finalizeContents() 252 section->outSecOff = payloadSize; in finalizeContents()
|
| H A D | InputChunks.h | 98 int32_t outSecOff = 0; variable
|
| /openbsd-src/gnu/llvm/lld/ELF/Arch/ |
| H A D | X86_64.cpp | 179 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 D | PPC.cpp | 488 secAddr += s->outSecOff; in relocateAlloc()
|
| H A D | X86.cpp | 487 secAddr += s->outSecOff; in relocateAlloc()
|
| H A D | AArch64.cpp | 749 secAddr += s->outSecOff; in relocateAlloc()
|
| /openbsd-src/gnu/llvm/lld/MachO/Arch/ |
| H A D | ARM64.cpp | 621 buf = outBuf + section->outSecOff + section->parent->fileOff; in applyOptimizationHints()
|