Home
last modified time | relevance | path

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

/freebsd-13.1/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.cpp62 ExportInfo(const Symbol &sym, uint64_t imageBase) in ExportInfo()
63 : address(sym.getVA() - imageBase) { in ExportInfo()
210 node->info = ExportInfo(*pivotSymbol, imageBase); in sortAndBuild()
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DChunks.cpp109 case IMAGE_REL_AMD64_ADDR32: add32(off, s + config->imageBase); break; in applyRelX64()
110 case IMAGE_REL_AMD64_ADDR64: add64(off, s + config->imageBase); break; in applyRelX64()
130 case IMAGE_REL_I386_DIR32: add32(off, s + config->imageBase); break; in applyRelX86()
196 case IMAGE_REL_ARM_ADDR32: add32(off, sx + config->imageBase); break; in applyRelARM()
198 case IMAGE_REL_ARM_MOV32T: applyMOV32T(off, sx + config->imageBase); break; in applyRelARM()
308 case IMAGE_REL_ARM64_ADDR32: add32(off, s + config->imageBase); break; in applyRelARM64()
310 case IMAGE_REL_ARM64_ADDR64: add64(off, s + config->imageBase); break; in applyRelARM64()
739 impSymbol->getRVA() + config->imageBase); in writeTo()
749 applyMOV32T(buf, impSymbol->getRVA() + config->imageBase); in writeTo()
806 write64le(buf, sym->getRVA() + config->imageBase); in writeTo()
[all …]
H A DMapFile.cpp90 uint64_t rvaa = config->imageBase + a.first->getRVA(); in sortUniqueSymbols()
91 uint64_t rvab = config->imageBase + b.first->getRVA(); in sortUniqueSymbols()
190 os << format_hex_no_prefix((config->imageBase + sym->getRVA()), 16); in getSymbolStrings()
245 << format_hex_no_prefix(config->imageBase, 16) << "\n"; in writeMapFile()
H A DDLL.cpp334 write32le(buf + 1, imp->getRVA() + config->imageBase); in writeTo()
354 write32le(buf + 4, desc->getRVA() + config->imageBase); in writeTo()
376 applyMOV32T(buf + 0, imp->getRVA() + config->imageBase); in writeTo()
398 applyMOV32T(buf + 14, desc->getRVA() + config->imageBase); in writeTo()
458 write64le(buf, thunk->getRVA() + config->imageBase); in writeTo()
464 write32le(buf, (thunk->getRVA() + config->imageBase) | bit); in writeTo()
H A DConfig.h236 uint64_t imageBase = -1; member
H A DSymbols.h255 uint64_t getRVA() { return va - config->imageBase; } in getRVA()
H A DDriver.cpp895 config->imageBase = m.ImageBase; in parseModuleDefs()
1518 parseNumbers(arg->getValue(), &config->imageBase); in linkerMain()
2023 if (config->imageBase == uint64_t(-1)) in linkerMain()
2024 config->imageBase = getDefaultImageBase(); in linkerMain()
H A DWriter.cpp1388 pe->ImageBase = config->imageBase; in writeHeader()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DTarget.cpp191 if (config->imageBase) in getImageBase()
192 return *config->imageBase; in getImageBase()
H A DConfig.h268 llvm::Optional<uint64_t> imageBase; member
H A DLinkerScript.cpp1237 dot = config->imageBase.getValueOr(0); in assignAddresses()
H A DDriver.cpp2418 config->imageBase = getImageBase(args); in link()
/freebsd-13.1/contrib/llvm-project/lld/lib/Driver/
H A DDarwinLdDriver.cpp454 if (llvm::opt::Arg *imageBase = parsedArgs.getLastArg(OPT_image_base)) { in parse() local
456 if (parseNumberBase16(imageBase->getValue(), baseAddress)) { in parse()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DArchHandler_x86_64.cpp173 uint64_t imageBase,