Searched refs:imageBase (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | ExportTrie.h | 26 void setImageBase(uint64_t addr) { imageBase = addr; } in setImageBase() 37 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()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | Chunks.cpp | 110 case IMAGE_REL_AMD64_ADDR32: add32(off, s + config->imageBase); break; in applyRelX64() 111 case IMAGE_REL_AMD64_ADDR64: add64(off, s + config->imageBase); break; in applyRelX64() 131 case IMAGE_REL_I386_DIR32: add32(off, s + config->imageBase); break; in applyRelX86() 197 case IMAGE_REL_ARM_ADDR32: add32(off, sx + config->imageBase); break; in applyRelARM() 199 case IMAGE_REL_ARM_MOV32T: applyMOV32T(off, sx + config->imageBase); break; in applyRelARM() 310 case IMAGE_REL_ARM64_ADDR32: add32(off, s + config->imageBase); break; in applyRelARM64() 312 case IMAGE_REL_ARM64_ADDR64: add64(off, s + config->imageBase); break; in applyRelARM64() 741 impSymbol->getRVA() + config->imageBase); in writeTo() 751 applyMOV32T(buf, impSymbol->getRVA() + config->imageBase); in writeTo() 808 write64le(buf, sym->getRVA() + config->imageBase); in writeTo() [all …]
|
| H A D | MapFile.cpp | 86 uint64_t rvaa = config->imageBase + a.first->getRVA(); in sortUniqueSymbols() 87 uint64_t rvab = config->imageBase + b.first->getRVA(); in sortUniqueSymbols() 187 os << format_hex_no_prefix((config->imageBase + sym->getRVA()), 16); in getSymbolStrings() 243 << format_hex_no_prefix(config->imageBase, 16) << "\n"; in writeMapFile()
|
| H A D | DLL.cpp | 335 write32le(buf + 1, imp->getRVA() + config->imageBase); in writeTo() 355 write32le(buf + 4, desc->getRVA() + config->imageBase); in writeTo() 377 applyMOV32T(buf + 0, imp->getRVA() + config->imageBase); in writeTo() 399 applyMOV32T(buf + 14, desc->getRVA() + config->imageBase); in writeTo() 459 write64le(buf, thunk->getRVA() + config->imageBase); in writeTo() 465 write32le(buf, (thunk->getRVA() + config->imageBase) | bit); in writeTo()
|
| H A D | Config.h | 246 uint64_t imageBase = -1; member
|
| H A D | Symbols.h | 258 uint64_t getRVA() { return va - config->imageBase; } in getRVA()
|
| H A D | Driver.cpp | 994 config->imageBase = m.ImageBase; in parseModuleDefs() 1654 parseNumbers(arg->getValue(), &config->imageBase); in linkerMain() 2157 if (config->imageBase == uint64_t(-1)) in linkerMain() 2158 config->imageBase = getDefaultImageBase(); in linkerMain()
|
| H A D | Writer.cpp | 1391 pe->ImageBase = config->imageBase; in writeHeader()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Target.cpp | 182 if (config->imageBase) in getImageBase() 183 return *config->imageBase; in getImageBase()
|
| H A D | Config.h | 282 llvm::Optional<uint64_t> imageBase; member
|
| H A D | LinkerScript.cpp | 1298 dot = config->imageBase.value_or(0); in assignAddresses()
|
| H A D | Driver.cpp | 2722 config->imageBase = getImageBase(args); in link()
|