/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Symbols.h | 165 uint64_t getRVA(); 214 uint64_t getRVA() const { return (*data)->getRVA() + sym->Value; } in getRVA() function 234 uint64_t getRVA() { return data->getRVA(); } in getRVA() function 259 uint64_t getRVA(); 281 uint32_t getRVA() { return c ? c->getRVA() + offset : 0; } in getRVA() function 362 uint64_t getRVA() { return file->location->getRVA(); } in getRVA() function 394 uint64_t getRVA() { return data->getRVA(); } in getRVA() function 418 uint64_t getRVA() { return data->getRVA(); } in getRVA() function 425 inline uint64_t Defined::getRVA() { in getRVA() function 428 return cast<DefinedAbsolute>(this)->getRVA(); in getRVA() [all …]
|
H A D | DLL.cpp | 72 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() 186 e->Name = dllName->getRVA(); in writeTo() 187 e->ModuleHandle = moduleHandle->getRVA(); in writeTo() 188 e->DelayImportAddressTable = addressTab->getRVA(); in writeTo() 189 e->DelayImportNameTable = nameTab->getRVA(); in writeTo() 325 write32le(buf + 3, imp->getRVA() - rva - 7); in writeTo() [all …]
|
H A D | DLL.h | 50 uint64_t getDirRVA() { return dirs[0]->getRVA(); } in getDirRVA() 81 uint64_t getRVA() { return chunks[0]->getRVA(); } in getRVA() function 83 return chunks.back()->getRVA() + chunks.back()->getSize() - getRVA(); in getSize()
|
H A D | Chunks.cpp | 90 uint64_t secRel = s - os->getRVA(); in applySecRel() 285 applyArm64Imm(off, (s - os->getRVA()) & 0xfff, 0); in applySecRelLow12A() 292 uint64_t secRel = (s - os->getRVA()) >> 12; in applySecRelHigh12A() 304 applyArm64Ldr(off, (s - os->getRVA()) & 0xfff); in applySecRelLdr() 418 write32le(buf - sizeof(uint32_t), entryThunk->getRVA() - rva + 1); in writeTo() 441 uint64_t s = sym->getRVA(); in applyRelocation() 787 write32le(buf + 2, impSymbol->getRVA() - rva - getSize()); in writeTo() 791 res->emplace_back(getRVA() + 2, ctx.config.machine); in getBaserels() 797 write32le(buf + 2, impSymbol->getRVA() + ctx.config.imageBase); in writeTo() 801 res->emplace_back(getRVA(), IMAGE_REL_BASED_ARM_MOV32T); in getBaserels() [all …]
|
H A D | LLDMapFile.cpp | 69 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 D | Writer.cpp | 104 uint64_t offs = os->getFileOff() + (c->getRVA() - os->getRVA()); in writeTo() 105 fillEntry(d, record.first, c->getSize(), c->getRVA(), offs); in writeTo() 428 Defined *&lastThunk = lastThunks[target->getRVA()]; in getThunk() 429 if (lastThunk && isInRange(type, lastThunk->getRVA(), p, margin)) in getThunk() 474 size_t thunkInsertionRVA = sc->getRVA() + sc->getSize() + thunksSize; in createThunks() 487 uint64_t p = sc->getRVA() + rel.VirtualAddress + thunksSize; in createThunks() 493 uint64_t s = sym->getRVA(); in createThunks() 610 uint64_t p = sc->getRVA() + rel.VirtualAddress; in verifyRanges() 611 uint64_t s = sym->getRVA(); in verifyRanges() 1321 sym.Value = def->getRVA() - os->getRVA(); in createSymbol() [all …]
|
H A D | MapFile.cpp | 88 uint64_t rvaa = imageBase + a.first->getRVA(); in sortUniqueSymbols() 89 uint64_t rvab = imageBase + b.first->getRVA(); in sortUniqueSymbols() 162 address = sym->getRVA(); in getSymbolStrings() 189 os << format_hex_no_prefix((ctx.config.imageBase + sym->getRVA()), 16); in getSymbolStrings() 277 cr.second->getRVA() + cr.second->getSize() - cr.first->getRVA(); in writeMapFile() 279 auto address = cr.first->getRVA() - sec->header.VirtualAddress; in writeMapFile() 308 entry->getRVA() - ctx.getOutputSection(chunk)->header.VirtualAddress; in writeMapFile()
|
H A D | PDB.cpp | 723 sc.Off = c && os ? c->getRVA() - os->getRVA() : 0; in createSectionContrib() 1144 pub.Offset = def->getRVA() - os->getRVA(); in createPublic() 1477 cgs.Offset = firstChunk->getRVA() - os.getRVA(); in addLinkerModuleCoffGroup() 1478 cgs.Size = lastChunk->getRVA() + lastChunk->getSize() - firstChunk->getRVA(); in addLinkerModuleCoffGroup() 1498 sym.Rva = os.getRVA(); in addLinkerModuleSectionSymbol() 1576 ts.Offset = thunkChunk->getRVA() - thunkOS->getRVA(); in addImportFilesToPDB()
|
H A D | Writer.h | 48 uint64_t getRVA() const { return header.VirtualAddress; } in getRVA() function
|
H A D | Symbols.cpp | 108 uint64_t DefinedAbsolute::getRVA() { return va - ctx.config.imageBase; } in getRVA() function in lld::coff::DefinedAbsolute
|
H A D | Chunks.h | 93 uint32_t getRVA() const { return rva; } in getRVA() function
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | COFF.h | 1291 Error getRVA(uint32_t &Result) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | COFFObjectFile.cpp | 1786 Error BaseRelocRef::getRVA(uint32_t &Result) const { in getRVA() function in BaseRelocRef
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | COFFDumper.cpp | 1938 if (Error E = I.getRVA(RVA)) in printCOFFBaseReloc()
|