Home
last modified time | relevance | path

Searched refs:ImageBase (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/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()
45 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getImageBase()
47 return ImageBase; in getImageBase()
60 ImageBase(0) {} in RuntimeDyldCOFFX86_64()
115 const uint64_t ImageBase = getImageBase(); in resolveRelocation() local
116 if (Value < ImageBase || ((Value - ImageBase) > UINT32_MAX)) in resolveRelocation()
120 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation()
H A DRuntimeDyldCOFFAArch64.h83 uint64_t ImageBase; variable
87 if (!ImageBase) { in getImageBase()
88 ImageBase = std::numeric_limits<uint64_t>::max(); in getImageBase()
96 ImageBase = std::min(ImageBase, Section.getLoadAddress()); in getImageBase()
98 return ImageBase; in getImageBase()
105 ImageBase(0) {} in RuntimeDyldCOFFAArch64()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp634 if (ImageBase) in operator ()()
635 return *ImageBase; in operator ()()
638 ImageBase = G.findExternalSymbolByName(IBN); in operator ()()
639 if (*ImageBase) in operator ()()
640 return *ImageBase; in operator ()()
641 ImageBase = G.findAbsoluteSymbolByName(IBN); in operator ()()
642 if (*ImageBase) in operator ()()
643 return *ImageBase; in operator ()()
644 ImageBase = G.findDefinedSymbolByName(IBN); in operator ()()
645 if (*ImageBase) in operator ()()
[all …]
H A DCOFF_x86_64.cpp96 Symbol *ImageBase = GetImageBaseSymbol()(getGraph()); in addSingleRelocation() local
100 if (!ImageBase) in addSingleRelocation()
101 ImageBase = &addImageBaseSymbol(); in addSingleRelocation()
204 auto ImageBase = GetImageBase(G); in operator ()() local
205 assert(ImageBase && "__ImageBase symbol must be defined"); in operator ()()
206 E.setAddend(E.getAddend() - ImageBase->getAddress().getValue()); in operator ()()
H A DCOFFLinkGraphBuilder.h83 auto &ImageBase = G->addExternalSymbol(G->intern(Name), 0, true); variable
84 ImageBase.setLive(true);
85 return ImageBase;
230 void reset() { ImageBase = std::nullopt; } in reset()
234 std::optional<Symbol *> ImageBase; variable
/freebsd/contrib/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()
/freebsd/stand/efi/loader/arch/arm64/
H A Dstart.S160 adrp x0, ImageBase
161 add x0, x0, :lo12:ImageBase
H A Darm64.ldscript10 ImageBase = .;
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DLoadedImage.h67 VOID *ImageBase; ///< The base address at which the image was loaded. member
H A DRuntime.h44 VOID *ImageBase; member
/freebsd/stand/efi/loader/arch/amd64/
H A Dstart.S48 lea ImageBase(%rip), %rdi
H A Damd64.ldscript8 ImageBase = .;
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFFModuleDefinition.h32 uint64_t ImageBase = 0; member
/freebsd/stand/efi/loader/arch/i386/
H A Dstart.S51 addl $ImageBase-0b, %eax
H A Di386.ldscript8 ImageBase = .;
/freebsd/sys/contrib/edk2/Include/IndustryStandard/
H A DPeImage.h164 UINT32 ImageBase; member
214 UINT64 ImageBase; member
788 UINT64 ImageBase; ///< From original file header. member
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.h186 Dest.ImageBase = Src.ImageBase; in copyPeHeader()
/freebsd/stand/efi/loader/arch/riscv/
H A Dstart.S156 lla a0, ImageBase
H A Driscv.ldscript8 ImageBase = .;
/freebsd/stand/efi/loader/arch/arm/
H A Darm.ldscript7 ImageBase = .;
H A Dstart.S176 .word ImageBase
/freebsd/stand/kboot/kboot/arch/aarch64/
H A Daarch64.ldscript8 ImageBase = .;
/freebsd/stand/kboot/kboot/arch/amd64/
H A Damd64.ldscript8 ImageBase = .;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp129 uint64_t ImageBase = CoffObj->getImageBase(); in addCoffExportSymbols() local
134 uint64_t SymbolStart = ImageBase + Export.Offset; in addCoffExportSymbols()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCOFFPlatform.cpp127 jitlink::Symbol &ImageBase) { in addImageBaseRelocationEdge() argument
130 offsetof(object::pe32plus_header, ImageBase); in addImageBaseRelocationEdge()
131 B.addEdge(jitlink::x86_64::Pointer64, ImageBaseOffset, ImageBase, 0); in addImageBaseRelocationEdge()

12