Home
last modified time | relevance | path

Searched refs:getRVA (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/lld/COFF/
H A DSymbols.h172 uint64_t getRVA();
221 uint64_t getRVA() const { return (*data)->getRVA() + sym->Value; } in getRVA() function
241 uint64_t getRVA() { return data->getRVA(); } in getRVA() function
266 uint64_t getRVA();
288 uint32_t getRVA() { return c ? c->getRVA() + offset : 0; } in getRVA() function
383 uint64_t getRVA() { return getChunk()->getRVA(); } in getRVA() function
416 uint64_t getRVA() { return data->getRVA(); } in getRVA() function
440 uint64_t getRVA() { return data->getRVA(); } in getRVA() function
447 inline uint64_t Defined::getRVA() { in getRVA() function
450 return cast<DefinedAbsolute>(this)->getRVA(); in getRVA()
[all …]
H A DDLL.cpp72 write64le(buf, hintName->getRVA()); in writeTo()
74 write32le(buf, hintName->getRVA()); in writeTo()
120 e->ImportLookupTableRVA = lookupTab->getRVA(); in writeTo()
121 e->NameRVA = dllName->getRVA(); in writeTo()
122 e->ImportAddressTableRVA = addressTab->getRVA(); in writeTo()
163 file->impchkThunk->getRVA() + file->symtab.ctx.config.imageBase; in writeTo()
225 e->Name = dllName->getRVA(); in writeTo()
226 e->ModuleHandle = moduleHandle->getRVA(); in writeTo()
227 e->DelayImportAddressTable = addressTab->getRVA(); in writeTo()
228 e->DelayImportNameTable = nameTab->getRVA(); in writeTo()
[all …]
H A DChunks.cpp101 uint64_t secRel = s - os->getRVA(); in applySecRel()
296 applyArm64Imm(off, (s - os->getRVA()) & 0xfff, 0); in applySecRelLow12A()
303 uint64_t secRel = (s - os->getRVA()) >> 12; in applySecRelHigh12A()
315 applyArm64Ldr(off, (s - os->getRVA()) & 0xfff); in applySecRelLdr()
430 write32le(buf - sizeof(uint32_t), entryThunk->getRVA() - rva + 1); in writeTo()
454 uint64_t s = sym->getRVA(); in applyRelocation()
590 ctx.hybridSymtab->loadConfigSym->getRVA() + in getBaserels()
818 write32le(buf + 2, impSymbol->getRVA() - rva - getSize()); in writeTo()
822 res->emplace_back(getRVA() + 2, ctx.config.machine); in getBaserels()
828 write32le(buf + 2, impSymbol->getRVA() + ctx.config.imageBase); in writeTo()
[all …]
H A DLLDMapFile.cpp69 return a->getRVA() < b->getRVA(); in getSectionSyms()
82 writeHeader(os, syms[i]->getRVA(), 0, 0); in getSymbolStrings()
112 writeHeader(os, sec->getRVA(), sec->getVirtualSize(), /*align=*/pageSize); in writeLLDMapFile()
120 writeHeader(os, sc->getRVA(), sc->getSize(), sc->getAlignment()); in writeLLDMapFile()
H A DWriter.cpp101 uint64_t offs = os->getFileOff() + (c->getRVA() - os->getRVA()); in writeTo()
102 fillEntry(d, record.first, c->getSize(), c->getRVA(), offs); in writeTo()
451 Defined *&lastThunk = lastThunks[target->getRVA()]; in getThunk()
452 if (lastThunk && isInRange(type, lastThunk->getRVA(), p, margin, machine)) in getThunk()
504 size_t thunkInsertionRVA = sc->getRVA() + sc->getSize() + thunksSize; in createThunks()
517 uint64_t p = sc->getRVA() + rel.VirtualAddress + thunksSize; in createThunks()
523 uint64_t s = sym->getRVA(); in createThunks()
645 uint64_t p = sc->getRVA() + rel.VirtualAddress; in verifyRanges()
646 uint64_t s = sym->getRVA(); in verifyRanges()
1463 sym.Value = def->getRVA() - os->getRVA(); in createSymbol()
[all …]
H A DMapFile.cpp86 uint64_t rvaa = imageBase + a.first->getRVA(); in sortUniqueSymbols()
87 uint64_t rvab = imageBase + b.first->getRVA(); in sortUniqueSymbols()
161 address = sym->getRVA(); in getSymbolStrings()
188 os << format_hex_no_prefix((ctx.config.imageBase + sym->getRVA()), 16); in getSymbolStrings()
276 cr.second->getRVA() + cr.second->getSize() - cr.first->getRVA(); in writeMapFile()
278 auto address = cr.first->getRVA() - sec->header.VirtualAddress; in writeMapFile()
307 entry->getRVA() - ctx.getOutputSection(chunk)->header.VirtualAddress; in writeMapFile()
H A DPDB.cpp717 sc.Off = c && os ? c->getRVA() - os->getRVA() : 0; in createSectionContrib()
1141 pub.Offset = def->getRVA() - os->getRVA(); in createPublic()
1485 cgs.Offset = firstChunk->getRVA() - os.getRVA(); in addLinkerModuleCoffGroup()
1486 cgs.Size = lastChunk->getRVA() + lastChunk->getSize() - firstChunk->getRVA(); in addLinkerModuleCoffGroup()
1506 sym.Rva = os.getRVA(); in addLinkerModuleSectionSymbol()
1584 ts.Offset = thunkChunk->getRVA() - thunkOS->getRVA(); in addImportFilesToPDB()
H A DWriter.h48 uint64_t getRVA() const { return header.VirtualAddress; } in getRVA() function
H A DDLL.h54 uint64_t getDirRVA() { return dirs[0]->getRVA(); } in getDirRVA()
H A DSymbols.cpp109 uint64_t DefinedAbsolute::getRVA() { return va - ctx.config.imageBase; } in getRVA() function in lld::coff::DefinedAbsolute
H A DChunks.h94 uint32_t getRVA() const { return rva; } in getRVA() function
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFObjectFile.cpp1533 uint32_t RVA = reloc.getRVA(); in getHybridObjectView()
1928 Error BaseRelocRef::getRVA(uint32_t &Result) const { in getRVA() function in BaseRelocRef
2192 if (getRVA() % getSize()) in validate()
2195 Twine(getRVA()) + ")"); in validate()
2198 return Obj->getRvaPtr(getRVA() + getSize(), IntPtr, "ARM64X reloc"); in validate()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h1350 LLVM_ABI Error getRVA(uint32_t &Result) const;
1393 uint32_t getRVA() const { return Header->PageRVA + (getReloc() & 0xfff); } in getRVA() function
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp994 W.printHex("RVA", Arm64XReloc.getRVA()); in printCOFFLoadConfig()
1984 if (Error E = I.getRVA(RVA)) in printCOFFBaseReloc()