reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lld/ELF/InputSection.h
   88   uint64_t getVA(uint64_t offset = 0) const;

References

tools/lld/ELF/AArch64ErrataFix.cpp
  340   uint64_t isecAddr = isec->getVA(0);
  404   return patchee->getVA(patcheeOffset);
  599         uint64_t startAddr = isec->getVA(off);
tools/lld/ELF/ARMErrataFix.cpp
  148   return patchee->getVA(patcheeOffset);
  187   uint64_t p = getVA(4);
  196   uint64_t sourceAddr = isec->getVA(0) + off;
  225       isBcc(instr) ? R_ARM_THM_JUMP19 : R_ARM_THM_JUMP24, isec->getVA(off),
  226       isec->getVA() + isec->getSize() + 0x100);
  245   uint64_t isecAddr = isec->getVA(0);
  406       utohexstr(isec->getVA(sr.off)) + " in unpatched output.");
tools/lld/ELF/Arch/AArch64.cpp
  191   write64le(buf, in.plt->getVA());
  207   uint64_t got = in.gotPlt->getVA();
  208   uint64_t plt = in.plt->getVA();
  609   uint64_t got = in.gotPlt->getVA();
  610   uint64_t plt = in.plt->getVA();
tools/lld/ELF/Arch/ARM.cpp
  154   write32le(buf, in.plt->getVA());
  175   uint64_t gotPlt = in.gotPlt->getVA();
  176   uint64_t l1 = in.plt->getVA() + 8;
  194   uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4;
  194   uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4;
tools/lld/ELF/Arch/Hexagon.cpp
  300   uint64_t off = in.gotPlt->getVA() - in.plt->getVA();
  300   uint64_t off = in.gotPlt->getVA() - in.plt->getVA();
tools/lld/ELF/Arch/Mips.cpp
  197   uint64_t va = in.plt->getVA();
  249     uint64_t gotPlt = in.gotPlt->getVA();
  250     uint64_t plt = in.plt->getVA();
  302   uint64_t gotPlt = in.gotPlt->getVA();
tools/lld/ELF/Arch/PPC.cpp
   83   uint32_t got = in.got->getVA();
   84   uint32_t glink = in.plt->getVA(); // VA of .glink
  163   write32(buf, mainPart->dynamic->getVA());
  168   write32(buf, in.plt->getVA() + 4 * s.pltIndex);
tools/lld/ELF/Arch/PPC64.cpp
   68   uint64_t tocVA = in.got->getVA();
  666   int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8);
  666   int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8);
tools/lld/ELF/Arch/RISCV.cpp
  132     write64le(buf, mainPart->dynamic->getVA());
  134     write32le(buf, mainPart->dynamic->getVA());
  139     write64le(buf, in.plt->getVA());
  141     write32le(buf, in.plt->getVA());
  153   uint32_t offset = in.gotPlt->getVA() - in.plt->getVA();
  153   uint32_t offset = in.gotPlt->getVA() - in.plt->getVA();
tools/lld/ELF/Arch/X86.cpp
  172   write32le(buf, mainPart->dynamic->getVA());
  211   uint32_t gotPlt = in.gotPlt->getVA();
  226     write32le(buf + 2, gotPltEntryAddr - in.gotPlt->getVA());
  476   uint32_t ebx = in.gotPlt->getVA();
  515   uint32_t gotPlt = in.gotPlt->getVA();
tools/lld/ELF/Arch/X86_64.cpp
  137   write64le(buf, mainPart->dynamic->getVA());
  152   uint64_t gotPlt = in.gotPlt->getVA();
  153   uint64_t plt = in.plt->getVA();
  625   uint64_t gotPlt = in.gotPlt->getVA();
  626   uint64_t plt = in.plt->getVA();
tools/lld/ELF/InputSection.cpp
  425     p->r_offset = sec->getVA(rel.r_offset);
  665     return in.got->getVA() + a - p;
  667     return in.gotPlt->getVA() + a - p;
  670     return sym.getVA(a) - in.got->getVA();
  672     return sym.getVA(a) - in.gotPlt->getVA();
  675     return sym.getGotVA() + a - in.gotPlt->getVA();
  709     return in.mipsGot->getVA() + in.mipsGot->getPageEntryOffset(file, sym, a) -
  716     return in.mipsGot->getVA() + in.mipsGot->getSymEntryOffset(file, sym, a) -
  719     return in.mipsGot->getVA() + in.mipsGot->getGlobalDynOffset(file, sym) -
  722     return in.mipsGot->getVA() + in.mipsGot->getTlsIndexOffset(file) -
  810     return in.got->getVA() + in.got->getGlobalDynOffset(sym) + a - in.gotPlt->getVA();
  810     return in.got->getVA() + in.got->getGlobalDynOffset(sym) + a - in.gotPlt->getVA();
  814     return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA();
  814     return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA();
tools/lld/ELF/MapFile.cpp
   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),
tools/lld/ELF/Relocations.cpp
 1784             uint64_t src = isec->getVA(rel.offset);
tools/lld/ELF/Symbols.cpp
   97     uint64_t va = isec->getVA(offset);
  147     return in.igotPlt->getVA() + getGotPltOffset();
  148   return in.got->getVA() + getGotOffset();
  155     return in.igotPlt->getVA() + getGotPltOffset();
  156   return in.gotPlt->getVA() + getGotPltOffset();
  173       plt->getVA() + plt->headerSize + pltIndex * target->pltEntrySize;
  184   return in.ppc64LongBranchTarget->getVA() +
tools/lld/ELF/SyntheticSections.cpp
  511   uint64_t va = getPartition().ehFrameHdr->getVA();
  634   return this->getVA() + b.globalDynIndex * config->wordsize;
 1013   return getVA() + gots[*f->mipsGotIndex].startIndex * config->wordsize +
 1218   entries.push_back({tag, [=] { return sec->getVA(0); }});
 1225       {tag, [=] { return sec->getVA(0) - (getVA() + tagOffset); }});
 1225       {tag, [=] { return sec->getVA(0) - (getVA() + tagOffset); }});
 1481     add(DT_PPC_GOT, [] { return in.got->getVA(); });
 1489                          return in.plt->getVA(0) + offset;
 1510   return inputSec->getVA(offsetInSec);
 2483     uint64_t plt = this->getVA() + off;
 2759       uint64_t baseAddr = e.section->getVA(0);
 2832           getPartition().ehFrame->getParent()->addr - this->getVA() - 4);
 3329       uint64_t s = isec->getVA();
 3330       uint64_t p = getVA() + offset;
 3337   uint64_t s = sentinel->getVA(sentinel->getSize());
 3338   uint64_t p = getVA() + offset;
 3575   uint64_t va = getVA();
 3577     write32(buf, mainPart->dynStrTab->getVA() + partitions[i].nameStrTab - va);
 3578     write32(buf + 4, partitions[i].elfHeader->getVA() - (va + 4));
 3582     write32(buf + 8, next->getVA() - partitions[i].elfHeader->getVA());
 3582     write32(buf + 8, next->getVA() - partitions[i].elfHeader->getVA());
tools/lld/ELF/SyntheticSections.h
  132   uint64_t getTlsIndexVA() { return this->getVA() + tlsIndexOff; }
  541   uint64_t getOffset() const { return inputSec->getVA(offsetInSec); }
tools/lld/ELF/Thunks.cpp
  725     offset = destination.getGotPltVA() - (in.ppc32Got2->getParent()->getVA() +
  730     offset = destination.getGotPltVA() - in.got->getVA();