/freebsd/contrib/llvm-project/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 | SyntheticSections.cpp | 430 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 D | Relocations.cpp | 84 if (*off < isec->outSecOff) in offsetToInputSection() 89 *off -= isec->outSecOff; in offsetToInputSection()
|
H A D | InputSection.h | 111 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 D | InputSection.cpp | 62 isec->outSecOff = inputSectionsOrder++; in addInputSection() 329 return piece.outSecOff + addend; in getOffset()
|
H A D | UnwindInfoSection.cpp | 370 d->unwindEntry()->outSecOff <= DWARF_SECTION_OFFSET in relocateCompactUnwind() 371 ? d->unwindEntry()->outSecOff in relocateCompactUnwind()
|
H A D | MapFile.cpp | 97 liveCStrings.push_back({isec->parent->addr + piece.outSecOff, in gatherMapInfo()
|
H A D | SyntheticSections.h | 575 uint64_t outSecOff = UINT64_MAX; member 711 uint32_t &inSecOff, uint32_t &outSecOff,
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | AArch64ErrataFix.cpp | 485 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 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 | 108 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace() 164 secAddr += s->outSecOff; in relocateAlloc() 166 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
H A D | Relocations.cpp | 1878 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 D | OutputSections.cpp | 522 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 D | InputSection.cpp | 200 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 D | MapFile.cpp | 184 writeHeader(os, isec->getVA(), osec->getLMA() + isec->outSecOff, in writeMapFile()
|
H A D | SyntheticSections.cpp | 556 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 D | Writer.cpp | 1361 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 D | InputSection.h | 423 uint64_t outSecOff = 0; variable
|
/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | X86_64.cpp | 182 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 D | AArch64.cpp | 875 secAddr += s->outSecOff; in relocateAlloc() 877 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
H A D | PPC.cpp | 499 secAddr += s->outSecOff; in relocateAlloc()
|
H A D | X86.cpp | 487 secAddr += s->outSecOff; in relocateAlloc()
|
H A D | PPC64.cpp | 1566 secAddr += s->outSecOff; in relocateAlloc() 1568 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
H A D | RISCV.cpp | 596 secAddr += s->outSecOff; in relocateAlloc() 598 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
/freebsd/contrib/llvm-project/lld/MachO/Arch/ |
H A D | ARM64.cpp | 654 buf = outBuf + section->outSecOff + section->parent->fileOff; in applyOptimizationHints()
|