/freebsd-13-stable/contrib/llvm-project/lld/MachO/ |
H A D | InputSection.cpp | 28 uint64_t InputSection::getVA() const { return parent->addr + outSecOff; } function in class:InputSection 41 va = isec->getVA(); 45 val -= getVA() + r.offset;
|
H A D | Symbols.h | 46 uint64_t getVA() const; 103 inline uint64_t Symbol::getVA() const { function in class:lld::macho::Symbol 105 return d->isec->getVA() + d->value;
|
H A D | InputSection.h | 50 uint64_t getVA() const;
|
H A D | SyntheticSections.cpp | 93 write64le(&buf[i * WordSize], defined->getVA()); 387 nList->n_value = defined->value + defined->isec->getVA();
|
H A D | ExportTrie.cpp | 197 node->info = {pivotSymbol->getVA()};
|
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | InputSection.cpp | 191 uint64_t SectionBase::getVA(uint64_t offset) const { function in class:SectionBase 426 p->r_offset = sec->getVA(rel.r_offset); 486 p->r_addend = sym.getVA(addend) - section->getOutputSection()->addr; 641 return s.getVA(0) + config->wordsize * 2 + 649 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)) - 0x7000; 651 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)); 658 return s.getVA(0) - tls->p_memsz - 674 return sym.getVA(a); 678 return sym.getVA(a) - getARMStaticBase(sym); 683 return in.got->getVA() [all...] |
H A D | MapFile.cpp | 76 return a->getVA() < b->getVA(); 90 uint64_t vma = syms[i]->getVA(); 91 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0; 168 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0; 187 writeHeader(os, isec->getVA(0), osec->getLMA() + isec->getOffset(0), 206 writeHeader(os, cmd->addr, osec->getLMA() + cmd->addr - osec->getVA(0),
|
H A D | ARMErrataFix.cpp | 151 return patchee->getVA(patcheeOffset); 190 uint64_t p = getVA(4); 199 uint64_t sourceAddr = isec->getVA(0) + off; 206 uint64_t dst = (r->expr == R_PLT_PC) ? r->sym->getPltVA() : r->sym->getVA(); 228 isBcc(instr) ? R_ARM_THM_JUMP19 : R_ARM_THM_JUMP24, isec->getVA(off), 229 isec->getVA() + isec->getSize() + 0x100); 248 uint64_t isecAddr = isec->getVA(0); 409 utohexstr(isec->getVA(sr.off)) + " in unpatched output."); 436 : sr.rel->sym->getVA();
|
H A D | Thunks.cpp | 355 uint64_t v = s.isInPlt() ? s.getPltVA() : s.getVA(a); 390 uint64_t p = getThunkTargetSym()->getVA(); 405 uint64_t v = s.isInPlt() ? s.getPltVA() : s.getVA(); 419 uint64_t p = getThunkTargetSym()->getVA(); 432 uint64_t p = getThunkTargetSym()->getVA(); 457 uint64_t p = getThunkTargetSym()->getVA() & ~1; 470 uint64_t p = getThunkTargetSym()->getVA(); 529 uint64_t p = getThunkTargetSym()->getVA(); 550 uint64_t p = getThunkTargetSym()->getVA() & ~0x1; 593 uint64_t p = getThunkTargetSym()->getVA() [all...] |
H A D | Symbols.cpp | 110 uint64_t va = isec->getVA(offset); 153 uint64_t Symbol::getVA(int64_t addend) const { function in class:Symbol 160 return in.igotPlt->getVA() + getGotPltOffset(); 161 return in.got->getVA() + getGotOffset(); 168 return in.igotPlt->getVA() + getGotPltOffset(); 169 return in.gotPlt->getVA() + getGotPltOffset(); 180 ? in.iplt->getVA() + pltIndex * target->ipltEntrySize 181 : in.plt->getVA() + in.plt->headerSize +
|
H A D | AArch64ErrataFix.cpp | 339 uint64_t isecAddr = isec->getVA(0); 407 return patchee->getVA(patcheeOffset); 422 uint64_t p = patchSym->getVA() + 4; 602 uint64_t startAddr = isec->getVA(off);
|
H A D | SyntheticSections.cpp | 514 uint64_t va = getPartition().ehFrameHdr->getVA(); 637 return this->getVA() + b.globalDynIndex * config->wordsize; 681 g.local16.insert({{nullptr, getMipsPageAddr(sym.getVA(addend))}, 0}); 740 uint64_t symAddr = getMipsPageAddr(sym.getVA(addend)); 743 index = g.local16.lookup({nullptr, getMipsPageAddr(sym.getVA(addend))}); 1015 return ElfSym::mipsGp->getVA(0); 1016 return getVA() + gots[*f->mipsGotIndex].startIndex * config->wordsize + 1040 va = s->getVA(a); 1221 entries.push_back({tag, [=] { return sec->getVA(0); }}); 1228 {tag, [=] { return sec->getVA( [all...] |
H A D | InputSection.h | 88 uint64_t getVA(uint64_t offset = 0) const;
|
/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/ |
H A D | X86.cpp | 177 write32le(buf, mainPart->dynamic->getVA()); 188 write32le(buf, s.getVA()); 216 uint32_t gotPlt = in.gotPlt->getVA(); 231 write32le(buf + 2, sym.getGotPltVA() - in.gotPlt->getVA()); 243 write32le(buf + 12, in.plt->getVA() - pltEntryAddr - 16); 439 in.ibtPlt->getVA() + IBTPltHeaderSize + s.pltIndex * pltEntrySize; 452 write32le(buf + 6, sym.getGotPltVA() - in.gotPlt->getVA()); 549 uint32_t ebx = in.gotPlt->getVA(); 550 unsigned off = pltEntryAddr - in.plt->getVA(); 589 uint32_t gotPlt = in.gotPlt->getVA(); [all...] |
H A D | RISCV.cpp | 138 write64le(buf, mainPart->dynamic->getVA()); 140 write32le(buf, mainPart->dynamic->getVA()); 145 write64le(buf, in.plt->getVA()); 147 write32le(buf, in.plt->getVA()); 159 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA();
|
H A D | PPC.cpp | 76 uint32_t glink = in.plt->getVA(); // VA of .glink 102 uint32_t got = in.got->getVA(); 190 write32(buf, mainPart->dynamic->getVA()); 195 write32(buf, in.plt->getVA() + in.plt->headerSize + 4 * s.pltIndex); 206 return !PPC::inBranchRange(type, branchAddr, s.getVA(a));
|
H A D | ARM.cpp | 172 write32le(buf, in.plt->getVA()); 177 write32le(buf, s.getVA()); 193 uint64_t gotPlt = in.gotPlt->getVA(); 194 uint64_t l1 = in.plt->getVA() + 8; 212 uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4; 296 if (s.isFunc() && expr == R_PC && (s.getVA() & 1)) 300 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA(); 307 if (expr == R_PLT_PC || (s.isFunc() && (s.getVA() & 1) == 0)) 311 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA(); [all...] |
H A D | X86_64.cpp | 373 write64le(buf, mainPart->dynamic->getVA()); 388 uint64_t gotPlt = in.gotPlt->getVA(); 389 uint64_t plt = in.ibtPlt ? in.ibtPlt->getVA() : in.plt->getVA(); 405 write32le(buf + 12, in.plt->getVA() - pltEntryAddr - 16); 918 in.ibtPlt->getVA() + IBTPltHeaderSize + s.pltIndex * pltEntrySize; 1007 uint64_t gotPlt = in.gotPlt->getVA(); 1008 uint64_t plt = in.plt->getVA(); 1025 uint64_t off = pltEntryAddr - in.plt->getVA(); 1066 write32le(buf + 8, in.plt->getVA() [all...] |
H A D | AArch64.cpp | 197 write64le(buf, in.plt->getVA()); 213 uint64_t got = in.gotPlt->getVA(); 214 uint64_t plt = in.plt->getVA(); 251 uint64_t dst = expr == R_PLT_PC ? s.getPltVA() : s.getVA(a); 635 uint64_t got = in.gotPlt->getVA(); 636 uint64_t plt = in.plt->getVA();
|
H A D | Hexagon.cpp | 362 uint64_t off = in.gotPlt->getVA() - in.plt->getVA();
|
H A D | Mips.cpp | 102 if (!s.isPreemptible && !(s.getVA() & 0x1)) 210 uint64_t va = in.plt->getVA(); 262 uint64_t gotPlt = in.gotPlt->getVA(); 263 uint64_t plt = in.plt->getVA(); 315 uint64_t gotPlt = in.gotPlt->getVA();
|
H A D | PPC64.cpp | 70 uint64_t tocVA = in.got->getVA(); 263 uint64_t tocRelative = d->getVA(addend) - getPPC64TocBase(); 778 int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8); 1071 s.getVA(a) +
|
H A D | SPARCV9.cpp | 193 uint64_t off = pltEntryAddr - in.plt->getVA();
|
/freebsd-13-stable/contrib/llvm-project/lld/MachO/Arch/ |
H A D | X86_64.cpp | 198 writeRipRelative(buf, in.stubHelper->addr, 7, in.imageLoaderCache->getVA()); 259 return sym.getVA(); 265 return sym.getVA();
|
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | MapFile.cpp | 156 address = absSym->getVA();
|