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

/freebsd-current/contrib/llvm-project/lld/MachO/
H A DExportTrie.h25 void setImageBase(uint64_t addr) { imageBase = addr; }
36 uint64_t imageBase = 0; member in class:lld::macho::TrieBuilder
H A DExportTrie.cpp63 ExportInfo(const Symbol &sym, uint64_t imageBase) argument
64 : address(sym.getVA() - imageBase) {
259 node->info = ExportInfo(*pivotSymbol, imageBase);
/freebsd-current/contrib/llvm-project/lld/COFF/
H A DMapFile.cpp68 uint64_t imageBase) {
85 parallelSort(v, [imageBase](const SortEntry &a, const SortEntry &b) {
86 // Add config.imageBase to avoid comparing "negative" RVAs.
88 uint64_t rvaa = imageBase + a.first->getRVA();
89 uint64_t rvab = imageBase + b.first->getRVA();
138 sortUniqueSymbols(syms, ctx.config.imageBase);
139 sortUniqueSymbols(staticSyms, ctx.config.imageBase);
189 os << format_hex_no_prefix((ctx.config.imageBase + sym->getRVA()), 16);
247 << format_hex_no_prefix(ctx.config.imageBase, 16) << "\n";
67 sortUniqueSymbols(std::vector<Defined *> &syms, uint64_t imageBase) argument
H A DChunks.cpp115 uint64_t imageBase) const {
118 add32(off, s + imageBase);
121 add64(off, s + imageBase);
142 uint64_t imageBase) const {
146 add32(off, s + imageBase);
210 uint64_t imageBase) const {
217 add32(off, sx + imageBase);
221 applyMOV32T(off, sx + imageBase);
327 uint64_t imageBase) const {
337 add32(off, s + imageBase);
439 uint64_t imageBase = file->ctx.config.imageBase; local
[all...]
H A DSymbols.cpp108 uint64_t DefinedAbsolute::getRVA() { return va - ctx.config.imageBase; }
H A DDLL.cpp395 write32le(buf + 1, imp->getRVA() + ctx.config.imageBase);
420 write32le(buf + 4, desc->getRVA() + ctx.config.imageBase);
447 applyMOV32T(buf + 0, imp->getRVA() + ctx.config.imageBase);
474 applyMOV32T(buf + 14, desc->getRVA() + ctx.config.imageBase);
540 write64le(buf, thunk->getRVA() + ctx.config.imageBase);
546 write32le(buf, (thunk->getRVA() + ctx.config.imageBase) | bit);
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 DConfig.h279 uint64_t imageBase = -1; member in struct:lld::coff::Configuration
H A DDriver.cpp1015 ctx.config.imageBase = m.ImageBase;
1773 parseNumbers(arg->getValue(), &config->imageBase);
2357 if (config->imageBase == uint64_t(-1))
2358 config->imageBase = getDefaultImageBase();
H A DWriter.cpp1630 pe->ImageBase = config->imageBase;
2462 if (loadConfig->field != ctx.config.imageBase + s->getRVA()) \
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DTarget.cpp179 if (config->imageBase)
180 return *config->imageBase;
H A DConfig.h341 std::optional<uint64_t> imageBase; member in struct:lld::elf::Config
H A DLinkerScript.cpp1346 dot = config->imageBase.value_or(0);
H A DDriver.cpp2976 config->imageBase = getImageBase(args);

Completed in 446 milliseconds