Searched refs:imageBase (Results 1 – 16 of 16) sorted by relevance
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | MapFile.cpp | 67 uint64_t imageBase) { in sortUniqueSymbols() argument 83 parallelSort(v, [imageBase](const SortEntry &a, const SortEntry &b) { in sortUniqueSymbols() 86 uint64_t rvaa = imageBase + a.first->getRVA(); in sortUniqueSymbols() 87 uint64_t rvab = imageBase + b.first->getRVA(); in sortUniqueSymbols() 137 sortUniqueSymbols(syms, ctx.config.imageBase); in getSymbols() 138 sortUniqueSymbols(staticSyms, ctx.config.imageBase); in getSymbols() 188 os << format_hex_no_prefix((ctx.config.imageBase + sym->getRVA()), 16); in getSymbolStrings() 246 << format_hex_no_prefix(ctx.config.imageBase, 16) << "\n"; in writeMapFile()
|
| H A D | Chunks.cpp | 126 uint64_t imageBase) const { in applyRelX64() 129 add32(off, s + imageBase); in applyRelX64() 132 add64(off, s + imageBase); in applyRelX64() 153 uint64_t imageBase) const { in applyRelX86() 157 add32(off, s + imageBase); in applyRelX86() 221 uint64_t imageBase) const { in applyRelARM() 228 add32(off, sx + imageBase); in applyRelARM() 232 applyMOV32T(off, sx + imageBase); in applyRelARM() 338 uint64_t imageBase) const { in applyRelARM64() 348 add32(off, s + imageBase); in applyRelARM64() [all …]
|
| H A D | DLL.cpp | 163 file->impchkThunk->getRVA() + file->symtab.ctx.config.imageBase; in writeTo() 436 write32le(buf + 1, imp->getRVA() + ctx.config.imageBase); in writeTo() 461 write32le(buf + 4, desc->getRVA() + ctx.config.imageBase); in writeTo() 488 applyMOV32T(buf + 0, imp->getRVA() + ctx.config.imageBase); in writeTo() 515 applyMOV32T(buf + 14, desc->getRVA() + ctx.config.imageBase); in writeTo() 584 write64le(buf, thunk->getRVA() + ctx.config.imageBase); in writeTo() 590 write32le(buf, (thunk->getRVA() + ctx.config.imageBase) | bit); in writeTo()
|
| H A D | Chunks.h | 277 uint64_t p, uint64_t imageBase) const; 279 uint64_t p, uint64_t imageBase) const; 281 uint64_t p, uint64_t imageBase) const; 283 uint64_t p, uint64_t imageBase) const;
|
| H A D | Symbols.cpp | 109 uint64_t DefinedAbsolute::getRVA() { return va - ctx.config.imageBase; } in getRVA()
|
| H A D | Config.h | 289 uint64_t imageBase = -1; member
|
| H A D | Driver.cpp | 1848 parseNumbers(arg->getValue(), &config->imageBase); in linkerMain() 2478 if (config->imageBase == uint64_t(-1)) in linkerMain() 2479 config->imageBase = getDefaultImageBase(); in linkerMain()
|
| H A D | Writer.cpp | 1827 pe->ImageBase = config->imageBase; in writeHeader() 2908 if (loadConfig->field != ctx.config.imageBase + s->getRVA()) \ in prepareLoadConfig()
|
| H A D | SymbolTable.cpp | 1292 ctx.config.imageBase = m.ImageBase; in parseModuleDefs()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | ExportTrie.h | 25 void setImageBase(uint64_t addr) { imageBase = addr; } in setImageBase() 36 uint64_t imageBase = 0; variable
|
| H A D | ExportTrie.cpp | 62 ExportInfo(const Symbol &sym, uint64_t imageBase) in ExportInfo() 63 : address(sym.getVA() - imageBase) { in ExportInfo() 258 node->info = ExportInfo(*pivotSymbol, imageBase); in sortAndBuild()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Target.cpp | 170 if (ctx.arg.imageBase) in getImageBase() 171 return *ctx.arg.imageBase; in getImageBase()
|
| H A D | Config.h | 443 std::optional<uint64_t> imageBase; member
|
| H A D | Writer.cpp | 1624 uint64_t imageBase = ctx.script->hasSectionsCommand || ctx.arg.relocatable in finalizeAddressDependentContent() local 1635 if (osec->addr < imageBase && (osec->flags & SHF_ALLOC)) { in finalizeAddressDependentContent() 1639 << Twine::utohexstr(imageBase) << "); specify --image-base"; in finalizeAddressDependentContent()
|
| H A D | LinkerScript.cpp | 1528 dot = ctx.arg.imageBase.value_or(0); in assignAddresses()
|
| H A D | Driver.cpp | 3418 ctx.arg.imageBase = getImageBase(ctx, args); in link()
|