| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | ConcatOutputSection.cpp | 259 isec->outSecOff = size; in finalizeOne() 427 isec->writeTo(buf + isec->outSecOff); in writeTo() 436 inputs[i]->outSecOff < thunks[t]->outSecOff)) { in writeTo() 437 inputs[i]->writeTo(buf + inputs[i]->outSecOff); in writeTo() 440 while (t < te && (i == ie || thunks[t]->outSecOff < inputs[i]->outSecOff)) { in writeTo() 441 thunks[t]->writeTo(buf + thunks[t]->outSecOff); in writeTo()
|
| H A D | SyntheticSections.cpp | 429 static void encodeBinding(const OutputSection *osec, uint64_t outSecOff, in encodeBinding() argument 433 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeBinding() 852 in.objcMethnameSection->getStringOffset(methname).outSecOff; in makeSelRef() 1683 memcpy(buf + piece.outSecOff, string.data(), string.size()); in writeTo() 1699 piece.outSecOff = offset; in finalizeContents() 1772 if (offsetInfo.outSecOff == UINT64_MAX) { in finalizeContents() 1773 offsetInfo.outSecOff = in finalizeContents() 1775 size = offsetInfo.outSecOff + s.size() + 1; // account for null terminator in finalizeContents() 1777 piece.outSecOff = offsetInfo.outSecOff; in finalizeContents() 1786 uint64_t off = p.second.outSecOff; in writeTo() [all …]
|
| H A D | MapFile.cpp | 97 liveCStrings.push_back({isec->parent->addr + piece.outSecOff, in gatherMapInfo() 223 if (!arr1.empty() && (arr2.empty() || arr1.front()->outSecOff <= in writeMapFile() 224 arr2.front()->outSecOff)) { in writeMapFile()
|
| H A D | Relocations.cpp | 109 if (*off < isec->outSecOff) in offsetToInputSection() 114 *off -= isec->outSecOff; in offsetToInputSection()
|
| H A D | InputSection.h | 111 uint64_t getOffset(uint64_t off) const override { return outSecOff + off; } in getOffset() 149 uint64_t outSecOff = 0; variable 181 uint64_t outSecOff = 0; member
|
| H A D | InputSection.cpp | 61 isec->outSecOff = inputSectionsOrder++; in addInputSection() 328 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 | SyntheticSections.h | 577 uint64_t outSecOff = UINT64_MAX; member 713 uint32_t &inSecOff, uint32_t &outSecOff,
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | AArch64ErrataFix.cpp | 483 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 | 372 uint64_t prevIsecLimit = isd.sections.front()->outSecOff; in insertPatches() 383 isecLimit = isec->outSecOff + isec->getSize(); in insertPatches() 388 (*patchIt)->outSecOff = prevIsecLimit; in insertPatches() 395 (*patchIt)->outSecOff = isecLimit; in insertPatches() 404 if (a->outSecOff != b->outSecOff) in insertPatches() 405 return a->outSecOff < b->outSecOff; in insertPatches()
|
| H A D | Target.cpp | 99 ? (ctx.bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrorPlace() 156 secAddr += s->outSecOff; in relocateAlloc() 158 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
| H A D | Relocations.cpp | 1975 if (a->outSecOff < b->outSecOff) in mergeCmp() 1979 if (a->outSecOff == b->outSecOff && a != b) { in mergeCmp() 2127 return a->outSecOff < b->outSecOff; in mergeThunks() 2193 uint64_t tsBase = os->addr + ts->outSecOff - pcBias; in getISDThunkSec() 2205 uint64_t thunkSecOff = isec->outSecOff; in getISDThunkSec() 2208 thunkSecOff = isec->outSecOff + isec->getSize(); in getISDThunkSec() 2212 << isec->getObjMsg(src - (os->addr << isec->outSecOff)); in getISDThunkSec() 2235 if (isec->outSecOff < first->outSecOff || last->outSecOff < isec->outSecOff) in getISThunkSec() 2238 ts = addThunkSection(tos, isd, isec->outSecOff); in getISThunkSec() 2270 uint32_t isdBegin = isd->sections.front()->outSecOff; in createInitialThunkSections() [all …]
|
| H A D | OutputSections.cpp | 539 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo() 552 s->writeTo(buf + isec->outSecOff); in writeTo() 554 isec->writeTo<ELFT>(ctx, buf + isec->outSecOff); in writeTo() 560 convertArmInstructionstoBE8(ctx, isec, buf + isec->outSecOff); in writeTo() 564 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo() 569 end = buf + sections[i + 1]->outSecOff; in writeTo()
|
| H A D | InputSection.cpp | 207 return cast<InputSection>(this)->outSecOff + offset; in getOffset() 218 return isec->outSecOff + es->getParentOffset(offset); in getOffset() 224 return isec->outSecOff + ms->getParentOffset(offset); in getOffset() 562 p->r_addend += sec->file->ppc32Got2->outSecOff; in copyRelocations() 1163 SignExtend64<bits>(sym.getVA(ctx, addend - offset - outSecOff))); in relocateNonAlloc()
|
| H A D | MapFile.cpp | 188 writeHeader(ctx, os, isec->getVA(), osec->getLMA() + isec->outSecOff, in writeMapFile()
|
| H A D | SyntheticSections.cpp | 575 uint8_t *buf = ctx.bufferStart + getParent()->offset + outSecOff; in getFdeData() 640 return addr + getParent()->addr + off + outSecOff; in getFdePc() 3650 write64le(buf, chunk.sec->outSecOff + cu.cuOffset); in writeTo() 3726 uint8_t *buf = ctx.bufferStart + getParent()->offset + outSecOff; in write() 4213 return a->outSecOff < b->outSecOff; in finalizeContents() 4238 d->outSecOff = offset; in finalizeContents() 4277 d->outSecOff = offset + outSecOff; in writeTo() 4309 this->outSecOff = off; in ThunkSection()
|
| H A D | InputSection.h | 442 uint64_t outSecOff = 0; variable
|
| H A D | Writer.cpp | 1412 return la->outSecOff < lb->outSecOff; in compareByFilePosition() 2719 p->p_offset = first->offset + part.armExidx->outSecOff; in setPhdrs() 2720 p->p_vaddr = first->addr + part.armExidx->outSecOff; in setPhdrs() 2726 p->p_paddr = first->getLMA() + part.armExidx->outSecOff; in setPhdrs()
|
| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | X86_64.cpp | 192 uint64_t addrLoc = is.getOutputSection()->addr + is.outSecOff + r.offset; in isFallThruRelocation() 198 nextIS->getOutputSection()->addr + nextIS->outSecOff; in isFallThruRelocation() 349 sec->outSecOff + rel.offset); in relaxOnce() 1152 secAddr += s->outSecOff; in relocateAlloc() 1154 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
| H A D | AArch64.cpp | 933 secAddr += s->outSecOff; in relocateAlloc() 935 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
| H A D | PPC.cpp | 502 secAddr += s->outSecOff; in relocateAlloc()
|
| H A D | PPC64.cpp | 1567 secAddr += s->outSecOff; in relocateAlloc() 1569 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
| H A D | X86.cpp | 497 secAddr += s->outSecOff; in relocateAlloc()
|
| H A D | LoongArch.cpp | 1277 secAddr += s->outSecOff; in relocateAlloc() 1279 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|
| H A D | RISCV.cpp | 595 secAddr += s->outSecOff; in relocateAlloc() 597 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
|