|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/lld/ELF/Symbols.h 186 uint64_t getVA(int64_t addend = 0) const;
References
tools/lld/ELF/AArch64ErrataFix.cpp 419 uint64_t p = patchSym->getVA() + 4;
tools/lld/ELF/ARMErrataFix.cpp 203 uint64_t dst = (r->expr == R_PLT_PC) ? r->sym->getPltVA() : r->sym->getVA();
433 : sr.rel->sym->getVA();
tools/lld/ELF/Arch/AArch64.cpp 239 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA();
tools/lld/ELF/Arch/ARM.cpp 159 write32le(buf, s.getVA());
279 if (expr == R_PC && ((s.getVA() & 1) == 1))
283 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA();
290 if (expr == R_PLT_PC || ((s.getVA() & 1) == 0))
294 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA();
tools/lld/ELF/Arch/Mips.cpp 89 if (!s.isPreemptible && !(s.getVA() & 0x1))
tools/lld/ELF/Arch/PPC.cpp 179 return !(expr == R_PC && PPC::inBranchRange(type, branchAddr, s.getVA()));
tools/lld/ELF/Arch/PPC64.cpp 184 uint64_t tocRelative = d->getVA(addend) - getPPC64TocBase();
918 s.getVA() +
tools/lld/ELF/Arch/X86.cpp 183 write32le(buf, s.getVA());
tools/lld/ELF/InputSection.cpp 485 p->r_addend = sym.getVA(addend) - section->getOutputSection()->addr;
626 return s.getVA(0) + config->wordsize * 2 +
634 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)) - 0x7000;
636 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1));
641 return s.getVA(0) - tls->p_memsz -
656 return sym.getVA(a);
660 return sym.getVA(a) - getARMStaticBase(sym);
670 return sym.getVA(a) - in.got->getVA();
672 return sym.getVA(a) - in.gotPlt->getVA();
687 return sym.getVA(a) - in.mipsGot->getGp(file);
725 uint64_t val = sym.isUndefWeak() ? p + a : sym.getVA(a);
730 return getRelocTargetVA(file, hiRel->type, hiRel->addend, sym.getVA(),
746 dest = sym.getVA(a);
748 dest = sym.getVA(a);
763 uint64_t symVA = sym.getVA(a);
781 return sym.getVA(a) - p;
874 SignExtend64<bits>(sym.getVA(addend - offset)));
881 target->relocateOne(bufLoc, type, SignExtend64<bits>(sym.getVA(addend)));
897 uint64_t targetVA = SignExtend64(rel.sym->getVA(rel.addend), bits);
tools/lld/ELF/MapFile.cpp 76 return a->getVA() < b->getVA();
76 return a->getVA() < b->getVA();
90 uint64_t vma = syms[i]->getVA();
tools/lld/ELF/Relocations.cpp 1720 target->inBranchRange(rel.type, src, t->getThunkTargetSym()->getVA()))
1735 if (target->inBranchRange(rel.type, src, rel.sym->getVA()))
tools/lld/ELF/SyntheticSections.cpp 678 g.local16.insert({{nullptr, getMipsPageAddr(sym.getVA(addend))}, 0});
737 uint64_t symAddr = getMipsPageAddr(sym.getVA(addend));
740 index = g.local16.lookup({nullptr, getMipsPageAddr(sym.getVA(addend))});
1012 return ElfSym::mipsGp->getVA(0);
1037 va = s->getVA(a);
1240 entries.push_back({tag, [=] { return sym->getVA(); }});
1515 return sym->getVA(addend);
2158 eSym->st_value = sym->getVA();
3449 assert(sym->getVA());
3453 sym->getVA() + getPPC64GlobalEntryToLocalEntryOffset(sym->stOther));
tools/lld/ELF/Thunks.cpp 336 uint64_t v = s.isInPlt() ? s.getPltVA() : s.getVA();
371 uint64_t p = getThunkTargetSym()->getVA();
386 uint64_t v = s.isInPlt() ? s.getPltVA() : s.getVA();
400 uint64_t p = getThunkTargetSym()->getVA();
413 uint64_t p = getThunkTargetSym()->getVA();
438 uint64_t p = getThunkTargetSym()->getVA() & ~1;
451 uint64_t p = getThunkTargetSym()->getVA();
510 uint64_t p = getThunkTargetSym()->getVA();
531 uint64_t p = getThunkTargetSym()->getVA() & ~0x1;
574 uint64_t p = getThunkTargetSym()->getVA() & ~0x1;
630 uint64_t p = getThunkTargetSym()->getVA() & ~0x1;
644 uint64_t s = destination.getVA();
666 uint64_t s = destination.getVA();
690 uint64_t s = destination.getVA();
691 uint64_t p = getThunkTargetSym()->getVA();
tools/lld/ELF/Writer.cpp 2518 return b->getVA();