Home
last modified time | relevance | path

Searched full:imagebase (Results 1 – 25 of 112) sorted by relevance

12345

/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFF_x86_64.cpp96 Symbol *ImageBase = GetImageBaseSymbol()(getGraph()); in addSingleRelocation()
100 if (!ImageBase) in addSingleRelocation()
101 ImageBase = &addImageBaseSymbol(); in addSingleRelocation()
204 auto ImageBase = GetImageBase(G); in lowerCOFFRelocationEdges()
205 assert(ImageBase && "__ImageBase symbol must be defined"); in lowerCOFFRelocationEdges()
206 E.setAddend(E.getAddend() - ImageBase->getAddress().getValue()); in lowerCOFFRelocationEdges()
198 auto ImageBase = getImageBaseAddress(G, Ctx); lowerCOFFRelocationEdges() local
255 orc::ExecutorAddr ImageBase; getImageBaseAddress() local
273 orc::ExecutorAddr ImageBase; global() member in __anon8ce78a2c0111::COFFLinkGraphLowering_x86_64
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h32 uint64_t ImageBase; variable
36 if (!ImageBase) { in getImageBase()
37 ImageBase = std::numeric_limits<uint64_t>::max(); in getImageBase()
43 // be included in the ImageBase calculation. in getImageBase()
45 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getImageBase()
47 return ImageBase; in getImageBase()
60 ImageBase(0) {} in RuntimeDyldCOFFX86_64()
112 // ADDR32NB requires an offset less than 2GB from 'ImageBase'. in resolveRelocation()
115 const uint64_t ImageBase = getImageBase(); in resolveRelocation() local
116 if (Value < ImageBase || ((Value - ImageBase) > UINT32_MAX)) in resolveRelocation()
[all …]
H A DRuntimeDyldCOFFAArch64.h83 uint64_t ImageBase; in getImageBase()
87 if (!ImageBase) { in getImageBase()
88 ImageBase = std::numeric_limits<uint64_t>::max(); in getImageBase()
94 // be included in the ImageBase calculation. in RuntimeDyldCOFFAArch64()
96 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getStubAlignment()
98 return ImageBase; in getMaxStubSize()
105 ImageBase(0) {} in generateRelocationStub()
72 uint64_t ImageBase; global() variable
/llvm-project/llvm/test/tools/yaml2obj/COFF/
H A Dload-config.yaml55 ImageBase: 0x180000000
143 ImageBase: 0x180000000
181 ImageBase: 0x180000000
222 ImageBase: 0x400000
252 ImageBase: 0x180000000
281 ImageBase: 0x180000000
309 ImageBase: 0x180000000
H A Dbasic-arm64.yaml6 # CHECK: ImageBase: 0x140000000
8 # ROUNDTRIP: ImageBase: 5368709120
16 ImageBase: 5368709120
H A Dinvalid-raw-data.yaml6 ImageBase: 0x180000000
H A Dmixed-data.yaml6 ImageBase: 0x180000000
H A Dstructured-data.yaml7 ImageBase: 0x180000000
/llvm-project/lld/COFF/
H A DMapFile.cpp68 uint64_t imageBase) { in sortUniqueSymbols() argument
85 parallelSort(v, [imageBase](const SortEntry &a, const SortEntry &b) { in sortUniqueSymbols()
86 // Add config.imageBase to avoid comparing "negative" RVAs. in sortUniqueSymbols()
88 uint64_t rvaa = imageBase + a.first->getRVA(); in sortUniqueSymbols()
89 uint64_t rvab = imageBase + b.first->getRVA(); in sortUniqueSymbols()
139 sortUniqueSymbols(syms, ctx.config.imageBase); in getSymbols()
140 sortUniqueSymbols(staticSyms, ctx.config.imageBase); in getSymbols()
190 os << format_hex_no_prefix((ctx.config.imageBase + sym->getRVA()), 16); in getSymbolStrings()
248 << format_hex_no_prefix(ctx.config.imageBase, 16) << "\n"; in writeMapFile()
H A DChunks.cpp116 uint64_t imageBase) const { in applyRelX64()
119 add32(off, s + imageBase); in applyRelX64()
122 add64(off, s + imageBase); in applyRelX64()
143 uint64_t imageBase) const { in applyRelX86()
147 add32(off, s + imageBase); in applyRelX86()
211 uint64_t imageBase) const { in applyRelARM()
218 add32(off, sx + imageBase); in applyRelARM()
222 applyMOV32T(off, sx + imageBase); in applyRelARM()
328 uint64_t imageBase) const { in applyRelARM64()
338 add32(off, s + imageBase); in applyRelARM64()
445 uint64_t imageBase = file->ctx.config.imageBase; applyRelocation() local
[all...]
/llvm-project/lld/test/COFF/
H A Dbase.test7 # DEFAULT-HEADER: ImageBase: 0x140000000
15 # BASE-HEADER: ImageBase: 0x280000000
H A Dgiats.s14 # CHECK: ImageBase: 0x140000000
38 # DELAY-CHECK: ImageBase: 0x140000000
H A Dgfids-gc.s24 # CHECK-NOGC: ImageBase: 0x140000000
50 # CHECK-GC: ImageBase: 0x140000000
/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()
/llvm-project/llvm/test/tools/llvm-objdump/COFF/
H A Dprivate-headers.yaml18 # PE32PLUS-NEXT:ImageBase 0000000140000000
65 ImageBase: 0x140000000
135 # PE32-NEXT:ImageBase 00000000
H A Darm64ec.yaml78 ImageBase: 0x180000000
147 ImageBase: 0x180000000
/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp28 ErrorOr<uint64_t> ImageBase = Object.getImageBase(); in PDBContext() local
29 if (ImageBase) in PDBContext()
30 Session->setLoadAddress(ImageBase.get()); in PDBContext()
/llvm-project/llvm/test/tools/llvm-readobj/COFF/
H A Dtls-directory.test38 ImageBase: 0
112 ImageBase: 0
/llvm-project/lldb/source/Plugins/Platform/Windows/
H A DPlatformWindows.cpp664 void *ImageBase; in MakeLoadImageUtilityFunction()
680 result->ImageBase = LoadLibraryExW(name, nullptr, in MakeLoadImageUtilityFunction()
682 if (result->ImageBase == nullptr) in MakeLoadImageUtilityFunction()
685 result->Length = GetModuleFileNameA(result->ImageBase, result->ModulePath, in MakeLoadImageUtilityFunction()
688 return result->ImageBase; in MakeLoadImageUtilityFunction()
/llvm-project/lldb/test/Shell/Minidump/Windows/Inputs/
H A Dfind-module.exe.yaml4 ImageBase: 4194304
/llvm-project/llvm/test/tools/llvm-objdump/
H A Dfile-headers-pe.test28 ImageBase: 0x12
/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.h184 Dest.ImageBase = Src.ImageBase; in copyPeHeader()
/llvm-project/lld/ELF/
H A DTarget.cpp171 if (ctx.arg.imageBase) in relocateAlloc()
172 return *ctx.arg.imageBase; in relocateAlloc()
/llvm-project/lldb/test/Shell/ObjectFile/PECOFF/
H A Ddefault-triple-windows-gnu.yaml11 ImageBase: 5368709120

12345