Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DConcatOutputSection.cpp199 isec->outSecOff = size; in finalizeOne()
365 isec->writeTo(buf + isec->outSecOff); in writeTo()
374 inputs[i]->outSecOff < thunks[t]->outSecOff)) { in writeTo()
375 inputs[i]->writeTo(buf + inputs[i]->outSecOff); in writeTo()
378 while (t < te && (i == ie || thunks[t]->outSecOff < inputs[i]->outSecOff)) { in writeTo()
379 thunks[t]->writeTo(buf + thunks[t]->outSecOff); in writeTo()
H A DRelocations.cpp84 if (*off < isec->outSecOff) in offsetToInputSection()
89 *off -= isec->outSecOff; in offsetToInputSection()
H A DInputSection.h111 uint64_t getOffset(uint64_t off) const override { return outSecOff + off; } in getOffset()
148 uint64_t outSecOff = 0; variable
179 uint64_t outSecOff = 0; member
H A DSyntheticSections.cpp429 static void encodeBinding(const OutputSection *osec, uint64_t outSecOff, in encodeBinding() argument
433 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeBinding()
821 in.objcMethnameSection->getStringOffset(methname).outSecOff); in addEntry()
1594 memcpy(buf + piece.outSecOff, string.data(), string.size()); in writeTo()
1610 piece.outSecOff = offset; in finalizeContents()
1683 if (offsetInfo.outSecOff == UINT64_MAX) { in finalizeContents()
1684 offsetInfo.outSecOff = in finalizeContents()
1687 offsetInfo.outSecOff + s.size() + 1; // account for null terminator in finalizeContents()
1689 piece.outSecOff = offsetInfo.outSecOff; in finalizeContents()
1698 uint64_t off = p.second.outSecOff; in writeTo()
H A DUnwindInfoSection.cpp358 d->unwindEntry->outSecOff <= DWARF_SECTION_OFFSET in relocateCompactUnwind()
359 ? d->unwindEntry->outSecOff in relocateCompactUnwind()
H A DMapFile.cpp97 liveCStrings.push_back({isec->parent->addr + piece.outSecOff, in gatherMapInfo()
H A DInputSection.cpp282 return piece.outSecOff + addend; in getOffset()
H A DSyntheticSections.h560 uint64_t outSecOff = UINT64_MAX; member
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DAArch64ErrataFix.cpp485 uint64_t prevIsecLimit = isd.sections.front()->outSecOff; in insertPatches()
495 isecLimit = isec->outSecOff + isec->getSize(); in insertPatches()
500 (*patchIt)->outSecOff = prevIsecLimit; in insertPatches()
508 (*patchIt)->outSecOff = isecLimit; in insertPatches()
518 if (a->outSecOff != b->outSecOff) in insertPatches()
519 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.cpp107 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace()
163 secAddr += s->outSecOff; in relocateAlloc()
165 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
H A DRelocations.cpp1816 if (a->outSecOff < b->outSecOff) in mergeCmp()
1820 if (a->outSecOff == b->outSecOff && a != b) { in mergeCmp()
1964 return a->outSecOff < b->outSecOff; in mergeThunks()
2004 uint64_t tsBase = os->addr + ts->outSecOff - pcBias; in getISDThunkSec()
2016 uint64_t thunkSecOff = isec->outSecOff; in getISDThunkSec()
2019 thunkSecOff = isec->outSecOff + isec->getSize(); in getISDThunkSec()
2046 if (isec->outSecOff < first->outSecOff || last->outSecOff < isec->outSecOff) in getISThunkSec()
2049 ts = addThunkSection(tos, isd, isec->outSecOff); in getISThunkSec()
2094 isecLimit = isec->outSecOff + isec->getSize(); in createInitialThunkSections()
2137 uint64_t isdSize = isd->sections.back()->outSecOff + in addThunkSection()
[all …]
H A DOutputSections.cpp490 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); 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()
514 end = buf + sections[i + 1]->outSecOff; in writeTo()
H A DInputSection.cpp164 return cast<InputSection>(this)->outSecOff + offset; in getOffset()
175 return isec->outSecOff + es->getParentOffset(offset); in getOffset()
181 return isec->outSecOff + ms->getParentOffset(offset); in getOffset()
482 p->r_addend += sec->file->ppc32Got2->outSecOff; in copyRelocations()
1041 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 DSyntheticSections.cpp531 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in getFdeData()
593 return addr + getParent()->addr + off + outSecOff; in getFdePc()
2946 write64le(buf, chunk.sec->outSecOff + cu.cuOffset); in writeTo()
3022 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in write()
3502 return a->outSecOff < b->outSecOff; in finalizeContents()
3527 d->outSecOff = offset; in finalizeContents()
3566 d->outSecOff = offset + outSecOff; in writeTo()
3597 this->outSecOff = off; in ThunkSection()
H A DInputSection.h399 uint64_t outSecOff = 0; variable
H A DWriter.cpp1632 return la->outSecOff < lb->outSecOff; in compareByFilePosition()
2756 p->p_offset = first->offset + part.armExidx->outSecOff; in setPhdrs()
2757 p->p_vaddr = first->addr + part.armExidx->outSecOff; in setPhdrs()
2763 p->p_paddr = first->getLMA() + part.armExidx->outSecOff; in setPhdrs()
/freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/
H A DX86_64.cpp182 uint64_t addrLoc = is.getOutputSection()->addr + is.outSecOff + r.offset; in isFallThruRelocation()
189 nextIS->getOutputSection()->addr + nextIS->outSecOff; in isFallThruRelocation()
333 sec->outSecOff + rel.offset, in relaxOnce()
1035 secAddr += s->outSecOff; in relocateAlloc()
1037 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
H A DAArch64.cpp775 secAddr += s->outSecOff; in relocateAlloc()
777 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
H A DPPC.cpp499 secAddr += s->outSecOff; in relocateAlloc()
H A DX86.cpp487 secAddr += s->outSecOff; in relocateAlloc()
H A DRISCV.cpp596 secAddr += s->outSecOff; in relocateAlloc()
598 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
H A DPPC64.cpp1566 secAddr += s->outSecOff; in relocateAlloc()
1568 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
/freebsd-14.2/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp656 buf = outBuf + section->outSecOff + section->parent->fileOff; in applyOptimizationHints()

12