Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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 DSyntheticSections.cpp430 static void encodeBinding(const OutputSection *osec, uint64_t outSecOff, in encodeBinding() argument
434 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeBinding()
853 in.objcMethnameSection->getStringOffset(methname).outSecOff; in makeSelRef()
1659 memcpy(buf + piece.outSecOff, string.data(), string.size()); in writeTo()
1675 piece.outSecOff = offset; in finalizeContents()
1748 if (offsetInfo.outSecOff == UINT64_MAX) { in finalizeContents()
1749 offsetInfo.outSecOff = in finalizeContents()
1752 offsetInfo.outSecOff + s.size() + 1; // account for null terminator in finalizeContents()
1754 piece.outSecOff = offsetInfo.outSecOff; in finalizeContents()
1763 uint64_t off = p.second.outSecOff; in writeTo()
[all …]
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
180 uint64_t outSecOff = 0; member
H A DInputSection.cpp62 isec->outSecOff = inputSectionsOrder++; in addInputSection()
329 return piece.outSecOff + addend; in getOffset()
H A DUnwindInfoSection.cpp370 d->unwindEntry()->outSecOff <= DWARF_SECTION_OFFSET in relocateCompactUnwind()
371 ? d->unwindEntry()->outSecOff in relocateCompactUnwind()
H A DMapFile.cpp97 liveCStrings.push_back({isec->parent->addr + piece.outSecOff, in gatherMapInfo()
H A DSyntheticSections.h575 uint64_t outSecOff = UINT64_MAX; member
711 uint32_t &inSecOff, uint32_t &outSecOff,
/freebsd/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.cpp108 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace()
164 secAddr += s->outSecOff; in relocateAlloc()
166 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
H A DRelocations.cpp1878 if (a->outSecOff < b->outSecOff) in mergeCmp()
1882 if (a->outSecOff == b->outSecOff && a != b) { in mergeCmp()
2026 return a->outSecOff < b->outSecOff; in mergeThunks()
2066 uint64_t tsBase = os->addr + ts->outSecOff - pcBias; in getISDThunkSec()
2078 uint64_t thunkSecOff = isec->outSecOff; in getISDThunkSec()
2081 thunkSecOff = isec->outSecOff + isec->getSize(); in getISDThunkSec()
2085 isec->getObjMsg(src - (os->addr + isec->outSecOff))); in getISDThunkSec()
2108 if (isec->outSecOff < first->outSecOff || last->outSecOff < isec->outSecOff) in getISThunkSec()
2111 ts = addThunkSection(tos, isd, isec->outSecOff); in getISThunkSec()
2144 uint32_t isdBegin = isd->sections.front()->outSecOff; in createInitialThunkSections()
[all …]
H A DOutputSections.cpp522 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo()
535 s->writeTo(buf + isec->outSecOff); in writeTo()
537 isec->writeTo<ELFT>(buf + isec->outSecOff); in writeTo()
543 convertArmInstructionstoBE8(isec, buf + isec->outSecOff); in writeTo()
547 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo()
552 end = buf + sections[i + 1]->outSecOff; in writeTo()
H A DInputSection.cpp200 return cast<InputSection>(this)->outSecOff + offset; in getOffset()
211 return isec->outSecOff + es->getParentOffset(offset); in getOffset()
217 return isec->outSecOff + ms->getParentOffset(offset); in getOffset()
526 p->r_addend += sec->file->ppc32Got2->outSecOff; in copyRelocations()
1094 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.cpp556 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in getFdeData()
620 return addr + getParent()->addr + off + outSecOff; in getFdePc()
3558 write64le(buf, chunk.sec->outSecOff + cu.cuOffset); in writeTo()
3634 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in write()
4121 return a->outSecOff < b->outSecOff; in finalizeContents()
4146 d->outSecOff = offset; in finalizeContents()
4185 d->outSecOff = offset + outSecOff; in writeTo()
4216 this->outSecOff = off; in ThunkSection()
H A DWriter.cpp1361 return la->outSecOff < lb->outSecOff; in compareByFilePosition()
2555 p->p_offset = first->offset + part.armExidx->outSecOff; in setPhdrs()
2556 p->p_vaddr = first->addr + part.armExidx->outSecOff; in setPhdrs()
2562 p->p_paddr = first->getLMA() + part.armExidx->outSecOff; in setPhdrs()
H A DInputSection.h423 uint64_t outSecOff = 0; variable
/freebsd/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()
336 sec->getOutputSection()->addr + sec->outSecOff + rel.offset, in relaxOnce()
1038 secAddr += s->outSecOff; in relocateAlloc()
1040 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
H A DAArch64.cpp875 secAddr += s->outSecOff; in relocateAlloc()
877 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 DPPC64.cpp1566 secAddr += s->outSecOff; in relocateAlloc()
1568 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
H A DRISCV.cpp596 secAddr += s->outSecOff; in relocateAlloc()
598 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp654 buf = outBuf + section->outSecOff + section->parent->fileOff; in applyOptimizationHints()

12