Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DChunks.cpp118 add32(off, s + imageBase); in applyRelX64()
121 add64(off, s + imageBase); in applyRelX64()
146 add32(off, s + imageBase); in applyRelX86()
217 add32(off, sx + imageBase); in applyRelARM()
221 applyMOV32T(off, sx + imageBase); in applyRelARM()
337 add32(off, s + imageBase); in applyRelARM64()
341 add64(off, s + imageBase); in applyRelARM64()
439 uint64_t imageBase = file->ctx.config.imageBase; in applyRelocation() local
442 applyRelX64(off, rel.Type, os, s, p, imageBase); in applyRelocation()
445 applyRelX86(off, rel.Type, os, s, p, imageBase); in applyRelocation()
[all …]
H A DMapFile.cpp68 uint64_t imageBase) { in sortUniqueSymbols() argument
85 parallelSort(v, [imageBase](const SortEntry &a, const SortEntry &b) { in sortUniqueSymbols()
88 uint64_t rvaa = imageBase + a.first->getRVA(); in sortUniqueSymbols()
89 uint64_t rvab = imageBase + b.first->getRVA(); in sortUniqueSymbols()
138 sortUniqueSymbols(syms, ctx.config.imageBase); in getSymbols()
139 sortUniqueSymbols(staticSyms, ctx.config.imageBase); in getSymbols()
189 os << format_hex_no_prefix((ctx.config.imageBase + sym->getRVA()), 16); in getSymbolStrings()
247 << format_hex_no_prefix(ctx.config.imageBase, 16) << "\n"; in writeMapFile()
H A DDLL.cpp395 write32le(buf + 1, imp->getRVA() + ctx.config.imageBase); in writeTo()
420 write32le(buf + 4, desc->getRVA() + ctx.config.imageBase); in writeTo()
447 applyMOV32T(buf + 0, imp->getRVA() + ctx.config.imageBase); in writeTo()
474 applyMOV32T(buf + 14, desc->getRVA() + ctx.config.imageBase); in writeTo()
540 write64le(buf, thunk->getRVA() + ctx.config.imageBase); in writeTo()
546 write32le(buf, (thunk->getRVA() + ctx.config.imageBase) | bit); in writeTo()
H A DChunks.h259 uint64_t p, uint64_t imageBase) const;
261 uint64_t p, uint64_t imageBase) const;
263 uint64_t p, uint64_t imageBase) const;
265 uint64_t p, uint64_t imageBase) const;
H A DSymbols.cpp108 uint64_t DefinedAbsolute::getRVA() { return va - ctx.config.imageBase; } in getRVA()
H A DConfig.h279 uint64_t imageBase = -1; member
H A DDriver.cpp1015 ctx.config.imageBase = m.ImageBase; in parseModuleDefs()
1773 parseNumbers(arg->getValue(), &config->imageBase); in linkerMain()
2357 if (config->imageBase == uint64_t(-1)) in linkerMain()
2358 config->imageBase = getDefaultImageBase(); in linkerMain()
H A DWriter.cpp1630 pe->ImageBase = config->imageBase; in writeHeader()
2462 if (loadConfig->field != ctx.config.imageBase + s->getRVA()) \ in checkLoadConfigGuardData()
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DExportTrie.h25 void setImageBase(uint64_t addr) { imageBase = addr; } in setImageBase()
36 uint64_t imageBase = 0; variable
H A DExportTrie.cpp63 ExportInfo(const Symbol &sym, uint64_t imageBase) in ExportInfo()
64 : address(sym.getVA() - imageBase) { in ExportInfo()
259 node->info = ExportInfo(*pivotSymbol, imageBase); in sortAndBuild()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DTarget.cpp179 if (config->imageBase) in getImageBase()
180 return *config->imageBase; in getImageBase()
H A DConfig.h341 std::optional<uint64_t> imageBase; member
H A DLinkerScript.cpp1346 dot = config->imageBase.value_or(0); in assignAddresses()
H A DDriver.cpp2976 config->imageBase = getImageBase(args); in link()