Searched refs:imageBase (Results 1 – 14 of 14) sorted by relevance
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | Chunks.cpp | 114 uint64_t imageBase) const { in applyRelX64() 117 add32(off, s + imageBase); in applyRelX64() 120 add64(off, s + imageBase); in applyRelX64() 141 uint64_t imageBase) const { in applyRelX86() 145 add32(off, s + imageBase); in applyRelX86() 209 uint64_t imageBase) const { in applyRelARM() 216 add32(off, sx + imageBase); in applyRelARM() 220 applyMOV32T(off, sx + imageBase); in applyRelARM() 326 uint64_t imageBase) const { in applyRelARM64() 336 add32(off, s + imageBase); in applyRelARM64() [all …]
|
| H A D | MapFile.cpp | 67 uint64_t imageBase) { in sortUniqueSymbols() argument 84 parallelSort(v, [imageBase](const SortEntry &a, const SortEntry &b) { in sortUniqueSymbols() 87 uint64_t rvaa = imageBase + a.first->getRVA(); in sortUniqueSymbols() 88 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() 245 << format_hex_no_prefix(ctx.config.imageBase, 16) << "\n"; in writeMapFile()
|
| H A D | DLL.cpp | 392 write32le(buf + 1, imp->getRVA() + ctx.config.imageBase); in writeTo() 416 write32le(buf + 4, desc->getRVA() + ctx.config.imageBase); in writeTo() 442 applyMOV32T(buf + 0, imp->getRVA() + ctx.config.imageBase); in writeTo() 468 applyMOV32T(buf + 14, desc->getRVA() + ctx.config.imageBase); in writeTo() 532 write64le(buf, thunk->getRVA() + ctx.config.imageBase); in writeTo() 538 write32le(buf, (thunk->getRVA() + ctx.config.imageBase) | bit); in writeTo()
|
| H A D | Chunks.h | 241 uint64_t p, uint64_t imageBase) const; 243 uint64_t p, uint64_t imageBase) const; 245 uint64_t p, uint64_t imageBase) const; 247 uint64_t p, uint64_t imageBase) const;
|
| H A D | Symbols.cpp | 108 uint64_t DefinedAbsolute::getRVA() { return va - ctx.config.imageBase; } in getRVA()
|
| H A D | Config.h | 250 uint64_t imageBase = -1; member
|
| H A D | Driver.cpp | 1000 ctx.config.imageBase = m.ImageBase; in parseModuleDefs() 1669 parseNumbers(arg->getValue(), &config->imageBase); in linkerMain() 2190 if (config->imageBase == uint64_t(-1)) in linkerMain() 2191 config->imageBase = getDefaultImageBase(); in linkerMain()
|
| H A D | Writer.cpp | 1473 pe->ImageBase = config->imageBase; in writeHeader() 2235 if (loadConfig->field != ctx.config.imageBase + s->getRVA()) \ in checkLoadConfigGuardData()
|
| /openbsd-src/gnu/llvm/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() 215 node->info = ExportInfo(*pivotSymbol, imageBase); in sortAndBuild()
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | Target.cpp | 173 if (config->imageBase) in getImageBase() 174 return *config->imageBase; in getImageBase()
|
| H A D | Config.h | 315 std::optional<uint64_t> imageBase; member
|
| H A D | LinkerScript.cpp | 1312 dot = config->imageBase.value_or(0); in assignAddresses()
|
| H A D | Driver.cpp | 2843 config->imageBase = getImageBase(args); in link()
|