| /llvm-project-15.0.7/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 | 106 uint64_t getOffset(uint64_t off) const override { return outSecOff + off; } in getOffset() 143 uint64_t outSecOff = 0; variable 174 uint64_t outSecOff = 0; member
|
| H A D | SyntheticSections.cpp | 373 static void encodeBinding(const OutputSection *osec, uint64_t outSecOff, in encodeBinding() argument 377 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeBinding() 1445 memcpy(buf + isec->pieces[i].outSecOff, string.data(), string.size()); in writeTo() 1461 isec->pieces[i].outSecOff = offset; in finalizeContents() 1535 if (offsetInfo.outSecOff == UINT64_MAX) { in finalizeContents() 1536 offsetInfo.outSecOff = alignTo(size, 1ULL << offsetInfo.trailingZeros); in finalizeContents() 1537 size = offsetInfo.outSecOff + s.size(); in finalizeContents() 1539 isec->pieces[i].outSecOff = offsetInfo.outSecOff; in finalizeContents() 1548 uint64_t off = p.second.outSecOff; in writeTo()
|
| H A D | InputSection.cpp | 277 return piece.outSecOff + addend; in getOffset()
|
| H A D | SyntheticSections.h | 540 uint64_t outSecOff = UINT64_MAX; member
|
| H A D | UnwindInfoSection.cpp | 363 cu.encoding = target->modeDwarfEncoding | d->unwindEntry->outSecOff; in relocateCompactUnwind()
|
| H A D | Writer.cpp | 954 std::min(osec->inputOrder, static_cast<int>(isec->outSecOff)); in createOutputSections()
|
| /llvm-project-15.0.7/lld/ELF/ |
| 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 | 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 | Relocations.cpp | 1705 if (a->outSecOff < b->outSecOff) in mergeCmp() 1709 if (a->outSecOff == b->outSecOff && a != b) { in mergeCmp() 1853 return a->outSecOff < b->outSecOff; in mergeThunks() 1893 uint64_t tsBase = os->addr + ts->outSecOff - pcBias; in getISDThunkSec() 1905 uint64_t thunkSecOff = isec->outSecOff; in getISDThunkSec() 1908 thunkSecOff = isec->outSecOff + isec->getSize(); in getISDThunkSec() 1935 if (isec->outSecOff < first->outSecOff || last->outSecOff < isec->outSecOff) in getISThunkSec() 1938 ts = addThunkSection(tos, isd, isec->outSecOff); in getISThunkSec() 1983 isecLimit = isec->outSecOff + isec->getSize(); in createInitialThunkSections() 2026 uint64_t isdSize = isd->sections.back()->outSecOff + in addThunkSection() [all …]
|
| H A D | OutputSections.cpp | 427 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo() 432 s->writeTo(buf + isec->outSecOff); in writeTo() 434 isec->writeTo<ELFT>(buf + isec->outSecOff); in writeTo() 438 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo() 443 end = buf + sections[i + 1]->outSecOff; in writeTo()
|
| H A D | InputSection.cpp | 156 return cast<InputSection>(this)->outSecOff + offset; in getOffset() 167 return isec->outSecOff + es->getParentOffset(offset); in getOffset() 173 return isec->outSecOff + ms->getParentOffset(offset); in getOffset() 430 p->r_addend += sec->file->ppc32Got2->outSecOff; in copyRelocations() 928 SignExtend64<bits>(sym.getVA(addend - offset - outSecOff))); in relocateNonAlloc() 986 secAddr += sec->outSecOff; in relocateAlloc()
|
| H A D | Target.cpp | 103 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace()
|
| H A D | MapFile.cpp | 184 writeHeader(os, isec->getVA(), osec->getLMA() + isec->outSecOff, in writeMapFile()
|
| H A D | SyntheticSections.cpp | 557 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in getFdeData() 2961 write64le(buf, chunk.sec->outSecOff + cu.cuOffset); in writeTo() 3037 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in write() 3502 return a->outSecOff < b->outSecOff; in finalizeContents() 3527 d->outSecOff = offset; in finalizeContents() 3561 d->relocateAlloc(buf + d->outSecOff, buf + d->outSecOff + d->getSize()); in writeTo() 3589 this->outSecOff = off; in ThunkSection()
|
| H A D | InputSection.h | 369 uint64_t outSecOff = 0; variable
|
| H A D | Thunks.cpp | 812 (file->ppc32Got2 ? file->ppc32Got2->outSecOff : 0) + addend); in writePPC32PltCallStub()
|
| H A D | Writer.cpp | 1574 return la->outSecOff < lb->outSecOff; in compareByFilePosition()
|
| H A D | LinkerScript.cpp | 1050 isec->outSecOff = dot - sec->addr; in assignOffsets()
|
| /llvm-project-15.0.7/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 | 84 ? chunk->outputSec->getOffset() + chunk->outSecOff in getSymbolStrings() 131 writeHeader(os, -1, chunk->outputSec->getOffset() + chunk->outSecOff, in writeMapFile() 145 ? chunk->outputSec->getOffset() + chunk->outSecOff in writeMapFile()
|
| H A D | OutputSections.cpp | 58 func->outSecOff = bodySize; in finalizeContents() 160 inputSeg->outSecOff = segment->sectionOffset + segment->header.size() + in finalizeContents() 253 section->outSecOff = payloadSize; in finalizeContents()
|
| H A D | InputChunks.h | 97 int32_t outSecOff = 0; variable
|
| /llvm-project-15.0.7/lld/ELF/Arch/ |
| H A D | X86_64.cpp | 189 uint64_t addrLoc = is.getOutputSection()->addr + is.outSecOff + r.offset; in isFallThruRelocation() 196 nextIS->getOutputSection()->addr + nextIS->outSecOff; in isFallThruRelocation()
|