LLVM 20.0.0git
|
#include "ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h"
Static Public Member Functions | |
static void | finalizeAsync (std::unique_ptr< RuntimeDyldImpl > This, unique_function< void(object::OwningBinary< object::ObjectFile >, std::unique_ptr< RuntimeDyld::LoadedObjectInfo >, Error)> OnEmitted, object::OwningBinary< object::ObjectFile > O, std::unique_ptr< RuntimeDyld::LoadedObjectInfo > Info) |
Protected Types | |
typedef std::deque< SectionEntry > | SectionList |
typedef unsigned | SID |
typedef std::map< SectionRef, unsigned > | ObjSectionToIDMap |
typedef std::vector< SymbolRef > | CommonSymbolList |
typedef SmallVector< RelocationEntry, 64 > | RelocationList |
typedef std::map< RelocationValueRef, uintptr_t > | StubMap |
using | NotifyStubEmittedFunction = RuntimeDyld::NotifyStubEmittedFunction |
Protected Member Functions | |
virtual unsigned | getMaxStubSize () const =0 |
virtual Align | getStubAlignment ()=0 |
void | writeInt16BE (uint8_t *Addr, uint16_t Value) |
void | writeInt32BE (uint8_t *Addr, uint32_t Value) |
void | writeInt64BE (uint8_t *Addr, uint64_t Value) |
virtual void | setMipsABI (const ObjectFile &Obj) |
uint64_t | readBytesUnaligned (uint8_t *Src, unsigned Size) const |
Endian-aware read Read the least significant Size bytes from Src. | |
void | writeBytesUnaligned (uint64_t Value, uint8_t *Dst, unsigned Size) const |
Endian-aware write. | |
virtual Expected< JITSymbolFlags > | getJITSymbolFlags (const SymbolRef &Sym) |
Generate JITSymbolFlags from a libObject symbol. | |
virtual uint64_t | modifyAddressBasedOnFlags (uint64_t Addr, JITSymbolFlags Flags) const |
Modify the given target address based on the given symbol flags. | |
Error | emitCommonSymbols (const ObjectFile &Obj, CommonSymbolList &CommonSymbols, uint64_t CommonSize, uint32_t CommonAlign) |
Given the common symbols discovered in the object file, emit a new section for them and update the symbol mappings in the object and symbol table. | |
Expected< unsigned > | emitSection (const ObjectFile &Obj, const SectionRef &Section, bool IsCode) |
Emits section data from the object file to the MemoryManager. | |
Expected< unsigned > | findOrEmitSection (const ObjectFile &Obj, const SectionRef &Section, bool IsCode, ObjSectionToIDMap &LocalSections) |
Find Section in LocalSections. | |
void | addRelocationForSection (const RelocationEntry &RE, unsigned SectionID) |
void | addRelocationForSymbol (const RelocationEntry &RE, StringRef SymbolName) |
uint8_t * | createStubFunction (uint8_t *Addr, unsigned AbiVariant=0) |
Emits long jump instruction to Addr. | |
void | resolveRelocationList (const RelocationList &Relocs, uint64_t Value) |
Resolves relocations from Relocs list with address from Value. | |
virtual void | resolveRelocation (const RelocationEntry &RE, uint64_t Value)=0 |
A object file specific relocation resolver. | |
virtual Expected< relocation_iterator > | processRelocationRef (unsigned SectionID, relocation_iterator RelI, const ObjectFile &Obj, ObjSectionToIDMap &ObjSectionToID, StubMap &Stubs)=0 |
Parses one or more object file relocations (some object files use relocation pairs) and stores it to Relocations or SymbolRelocations (this depends on the object file type). | |
void | applyExternalSymbolRelocations (const StringMap< JITEvaluatedSymbol > ExternalSymbolMap) |
Error | resolveExternalSymbols () |
Resolve relocations to external symbols. | |
Error | computeTotalAllocSize (const ObjectFile &Obj, uint64_t &CodeSize, Align &CodeAlign, uint64_t &RODataSize, Align &RODataAlign, uint64_t &RWDataSize, Align &RWDataAlign) |
unsigned | computeGOTSize (const ObjectFile &Obj) |
unsigned | computeSectionStubBufSize (const ObjectFile &Obj, const SectionRef &Section) |
Expected< ObjSectionToIDMap > | loadObjectImpl (const object::ObjectFile &Obj) |
virtual size_t | getGOTEntrySize () |
virtual void | processNewSymbol (const SymbolRef &ObjSymbol, SymbolTableEntry &Entry) |
virtual bool | relocationNeedsGot (const RelocationRef &R) const |
virtual bool | relocationNeedsStub (const RelocationRef &R) const |
virtual bool | relocationNeedsDLLImportStub (const RelocationRef &R) const |
virtual unsigned | sizeAfterAddingDLLImportStub (unsigned Size) const |
Static Protected Attributes | |
static const unsigned | AbsoluteSymbolSection = ~0U |
Friends | |
class | RuntimeDyld::LoadedObjectInfo |
Definition at line 239 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 268 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 311 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 262 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 275 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 254 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 257 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 287 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 470 of file RuntimeDyldImpl.h.
|
virtualdefault |
|
protected |
Definition at line 949 of file RuntimeDyld.cpp.
Referenced by llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldMachO::processScatteredVANILLA().
|
protected |
Definition at line 954 of file RuntimeDyld.cpp.
References llvm::RelocationEntry::Addend, and assert().
Referenced by llvm::RuntimeDyldCOFF::getDLLImportOffset(), llvm::RuntimeDyldMachO::populateIndirectSymbolPointersSection(), llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), and llvm::RuntimeDyldELF::processRelocationRef().
|
protected |
Definition at line 1124 of file RuntimeDyld.cpp.
References Addr, assert(), llvm::dbgs(), llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), llvm::format(), LLVM_DEBUG, Name, llvm::report_fatal_error(), and UINT64_MAX.
|
inline |
Definition at line 582 of file RuntimeDyldImpl.h.
References HasError.
|
protected |
Definition at line 650 of file RuntimeDyld.cpp.
References llvm::object::ObjectFile::section_begin(), and llvm::object::ObjectFile::section_end().
|
protected |
Definition at line 668 of file RuntimeDyld.cpp.
References llvm::commonAlignment(), llvm::report_fatal_error(), llvm::object::ObjectFile::section_begin(), llvm::object::ObjectFile::section_end(), llvm::Expected< T >::takeError(), llvm::toString(), and llvm::Align::value().
|
protected |
Definition at line 535 of file RuntimeDyld.cpp.
References llvm::alignTo(), llvm::computeAllocationSizeForSections(), E, I, llvm::isReadOnlyData(), llvm::isRequiredForExecution(), llvm::isTLS(), Name, llvm::object::ObjectFile::section_begin(), llvm::object::ObjectFile::section_end(), Size, llvm::Error::success(), llvm::object::SymbolicFile::symbol_begin(), llvm::object::SymbolicFile::symbol_end(), and llvm::Expected< T >::takeError().
|
protected |
Emits long jump instruction to Addr.
Definition at line 973 of file RuntimeDyld.cpp.
References llvm::Triple::aarch64, llvm::Triple::aarch64_32, llvm::Triple::aarch64_be, Addr, llvm::Triple::arm, llvm::Triple::armeb, llvm::ELF::EF_MIPS_ARCH, llvm::ELF::EF_MIPS_ARCH_32R6, llvm::ELF::EF_MIPS_ARCH_64R6, llvm::Triple::loongarch64, llvm::Triple::ppc64, llvm::Triple::ppc64le, llvm::Triple::systemz, llvm::Triple::x86, and llvm::Triple::x86_64.
Referenced by llvm::RuntimeDyldCOFFAArch64::generateRelocationStub(), llvm::RuntimeDyldCOFFX86_64::generateRelocationStub(), and llvm::RuntimeDyldELF::processRelocationRef().
void llvm::RuntimeDyldImpl::deregisterEHFrames | ( | ) |
Definition at line 76 of file RuntimeDyld.cpp.
|
protected |
Given the common symbols discovered in the object file, emit a new section for them and update the symbol mappings in the object and symbol table.
Definition at line 748 of file RuntimeDyld.cpp.
References Addr, llvm::dbgs(), llvm::format(), LLVM_DEBUG, Name, llvm::Offset, llvm::offsetToAlignment(), llvm::report_fatal_error(), Size, llvm::Error::success(), and Sym.
|
protected |
Emits section data from the object file to the MemoryManager.
IsCode | if it's true then allocateCodeSection() will be used for emits, else allocateDataSection() will be used. |
Definition at line 804 of file RuntimeDyld.cpp.
References Addr, llvm::StringRef::data(), llvm::dbgs(), E, llvm::format(), llvm::isReadOnlyData(), llvm::isRequiredForExecution(), llvm::isTLS(), llvm::isZeroInit(), LLVM_DEBUG, Name, llvm::report_fatal_error(), llvm::Expected< T >::takeError(), and llvm::Align::value().
|
static |
Copy the result into a StringMap, where the keys are held by value.
Definition at line 1231 of file RuntimeDyld.cpp.
References assert(), llvm::inconvertibleErrorCode(), Info, Name, and llvm::Error::success().
Referenced by llvm::jitLinkForORC().
|
inlinevirtual |
Reimplemented in llvm::RuntimeDyldCOFFX86_64, llvm::RuntimeDyldELF, llvm::RuntimeDyldMachOCRTPBase< Impl >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOAArch64 >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOARM >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOI386 >, and llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOX86_64 >.
Definition at line 597 of file RuntimeDyldImpl.h.
References llvm::Error::success().
|
protected |
Find Section in LocalSections.
If the secton is not found - emit it and store in LocalSections.
IsCode | if it's true then allocateCodeSection() will be used for emmits, else allocateDataSection() will be used. |
Definition at line 930 of file RuntimeDyld.cpp.
Referenced by llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldMachO::processScatteredVANILLA().
|
inline |
Definition at line 585 of file RuntimeDyldImpl.h.
References ErrorStr.
|
inlineprotectedvirtual |
Reimplemented in llvm::RuntimeDyldELF.
Definition at line 443 of file RuntimeDyldImpl.h.
|
protectedvirtual |
Generate JITSymbolFlags from a libObject symbol.
Reimplemented in llvm::RuntimeDyldCOFFThumb, and llvm::RuntimeDyldMachOARM.
Definition at line 744 of file RuntimeDyld.cpp.
References llvm::JITSymbolFlags::fromObjectSymbol().
Referenced by llvm::RuntimeDyldCOFFThumb::getJITSymbolFlags(), and llvm::RuntimeDyldMachOARM::getJITSymbolFlags().
|
protectedpure virtual |
Definition at line 492 of file RuntimeDyldImpl.h.
References AbsoluteSymbolSection, and Sections.
Referenced by getSymbolLocalAddress().
Definition at line 499 of file RuntimeDyldImpl.h.
References AbsoluteSymbolSection, getAddress(), getMaxStubSize(), and Sections.
Definition at line 485 of file RuntimeDyldImpl.h.
References AbsoluteSymbolSection, and Sections.
Referenced by getSymbol(), and getSymbolTable().
|
protectedpure virtual |
|
inline |
Definition at line 528 of file RuntimeDyldImpl.h.
References AbsoluteSymbolSection, llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), getSectionLoadAddress(), GlobalSymbolTable, modifyAddressBasedOnFlags(), and Name.
Definition at line 508 of file RuntimeDyldImpl.h.
References AbsoluteSymbolSection, llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), getSectionAddress(), GlobalSymbolTable, and Name.
Definition at line 521 of file RuntimeDyldImpl.h.
References llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), GlobalSymbolTable, and Name.
|
inline |
Definition at line 548 of file RuntimeDyldImpl.h.
References getSectionLoadAddress(), and GlobalSymbolTable.
|
inline |
Definition at line 579 of file RuntimeDyldImpl.h.
References HasError.
|
pure virtual |
Implemented in llvm::RuntimeDyldCOFF, llvm::RuntimeDyldELF, and llvm::RuntimeDyldMachO.
|
pure virtual |
Implemented in llvm::RuntimeDyldELF, llvm::RuntimeDyldMachO, and llvm::RuntimeDyldCOFF.
|
protected |
Definition at line 182 of file RuntimeDyld.cpp.
References Addr, llvm::alignTo(), llvm::dbgs(), E, llvm::format(), llvm::object::ObjectFile::getArch(), llvm::object::Binary::getFileName(), llvm::getOffset(), I, llvm::object::Binary::isLittleEndian(), llvm::object::SectionRef::isText(), LLVM_DEBUG, Name, llvm::object::ObjectFile::section_begin(), llvm::object::ObjectFile::section_end(), Size, llvm::object::SymbolRef::ST_Data, llvm::object::SymbolRef::ST_File, llvm::object::SymbolRef::ST_Function, llvm::object::SymbolRef::ST_Other, llvm::object::SymbolRef::ST_Unknown, Sym, llvm::object::SymbolicFile::symbol_begin(), llvm::object::SymbolicFile::symbol_end(), llvm::object::ObjectFile::symbols(), and llvm::Expected< T >::takeError().
Referenced by llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldMachO::loadObject(), and llvm::RuntimeDyldCOFF::loadObject().
Definition at line 160 of file RuntimeDyld.cpp.
References getAddress(), and llvm_unreachable.
|
inlineprotectedvirtual |
Modify the given target address based on the given symbol flags.
This can be used by subclasses to tweak addresses based on symbol flags, For example: the MachO/ARM target uses it to set the low bit if the target is a thumb symbol.
Reimplemented in llvm::RuntimeDyldMachOARM.
Definition at line 362 of file RuntimeDyldImpl.h.
References Addr.
Referenced by getSymbol().
|
inlineprotectedvirtual |
Definition at line 447 of file RuntimeDyldImpl.h.
|
protectedpure virtual |
Parses one or more object file relocations (some object files use relocation pairs) and stores it to Relocations or SymbolRelocations (this depends on the object file type).
Implemented in llvm::RuntimeDyldCOFFAArch64, llvm::RuntimeDyldCOFFI386, llvm::RuntimeDyldCOFFThumb, llvm::RuntimeDyldCOFFX86_64, llvm::RuntimeDyldMachOAArch64, llvm::RuntimeDyldMachOARM, llvm::RuntimeDyldMachOI386, llvm::RuntimeDyldMachOX86_64, and llvm::RuntimeDyldELF.
Endian-aware read Read the least significant Size bytes from Src.
Definition at line 713 of file RuntimeDyld.cpp.
References Size.
Referenced by llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldMachO::processScatteredVANILLA(), and llvm::RuntimeDyldMachOARM::resolveRelocation().
Definition at line 1093 of file RuntimeDyld.cpp.
References Addr, llvm::dbgs(), llvm::format(), getName(), and LLVM_DEBUG.
|
virtual |
Reimplemented in llvm::RuntimeDyldELF, llvm::RuntimeDyldMachOCRTPBase< Impl >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOAArch64 >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOARM >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOI386 >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOX86_64 >, llvm::RuntimeDyldCOFFAArch64, llvm::RuntimeDyldCOFFI386, llvm::RuntimeDyldCOFFThumb, and llvm::RuntimeDyldCOFFX86_64.
Definition at line 74 of file RuntimeDyld.cpp.
|
inlineprotectedvirtual |
Reimplemented in llvm::RuntimeDyldCOFF.
Definition at line 460 of file RuntimeDyldImpl.h.
|
inlineprotectedvirtual |
Definition at line 450 of file RuntimeDyldImpl.h.
|
inlineprotectedvirtual |
Definition at line 455 of file RuntimeDyldImpl.h.
|
protected |
Resolve relocations to external symbols.
Definition at line 1175 of file RuntimeDyld.cpp.
References assert(), llvm::StringMap< ValueTy, AllocatorTy >::insert(), Name, and llvm::Error::success().
void llvm::RuntimeDyldImpl::resolveLocalRelocations | ( | ) |
Definition at line 145 of file RuntimeDyld.cpp.
References Addr, llvm::dbgs(), llvm::format(), Idx, and LLVM_DEBUG.
|
protectedpure virtual |
A object file specific relocation resolver.
RE | The relocation to be resolved |
Value | Target symbol address to apply the relocation action |
Implemented in llvm::RuntimeDyldELF, llvm::RuntimeDyldCOFFAArch64, llvm::RuntimeDyldCOFFI386, llvm::RuntimeDyldCOFFThumb, llvm::RuntimeDyldCOFFX86_64, llvm::RuntimeDyldELFMips, llvm::RuntimeDyldMachOAArch64, llvm::RuntimeDyldMachOARM, llvm::RuntimeDyldMachOI386, and llvm::RuntimeDyldMachOX86_64.
|
protected |
Resolves relocations from Relocs list with address from Value.
Definition at line 1113 of file RuntimeDyld.cpp.
References llvm::object::resolveRelocation().
void llvm::RuntimeDyldImpl::resolveRelocations | ( | ) |
Definition at line 121 of file RuntimeDyld.cpp.
References llvm::dumpSectionMemory(), LLVM_DEBUG, and llvm::toString().
|
inlineprotectedvirtual |
Definition at line 342 of file RuntimeDyldImpl.h.
References IsMipsN32ABI, IsMipsN64ABI, and IsMipsO32ABI.
|
inline |
Definition at line 589 of file RuntimeDyldImpl.h.
References NotifyStubEmitted.
|
inline |
Definition at line 478 of file RuntimeDyldImpl.h.
References ProcessAllSections.
|
inlineprotectedvirtual |
Reimplemented in llvm::RuntimeDyldCOFF.
Definition at line 465 of file RuntimeDyldImpl.h.
References Size.
|
protected |
Endian-aware write.
Write the least significant Size bytes from Value to Dst.
Definition at line 727 of file RuntimeDyld.cpp.
References Size.
Referenced by llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().
Definition at line 321 of file RuntimeDyldImpl.h.
References Addr, llvm::big, IsTargetLittleEndian, and llvm::little.
Definition at line 328 of file RuntimeDyldImpl.h.
References Addr, llvm::big, IsTargetLittleEndian, and llvm::little.
Referenced by llvm::RuntimeDyldELF::processRelocationRef().
Definition at line 335 of file RuntimeDyldImpl.h.
References Addr, llvm::big, IsTargetLittleEndian, and llvm::little.
|
friend |
Definition at line 240 of file RuntimeDyldImpl.h.
Definition at line 242 of file RuntimeDyldImpl.h.
Referenced by getSectionAddress(), getSectionContent(), getSectionLoadAddress(), getSymbol(), and getSymbolLocalAddress().
|
protected |
Definition at line 289 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldCOFF::create(), llvm::RuntimeDyldELF::create(), llvm::RuntimeDyldMachO::create(), llvm::RuntimeDyldELF::getGOTEntrySize(), and llvm::RuntimeDyldELF::processRelocationRef().
|
protected |
Definition at line 319 of file RuntimeDyldImpl.h.
Referenced by getErrorString(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldMachO::loadObject(), and llvm::RuntimeDyldCOFF::loadObject().
|
protected |
Definition at line 284 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 265 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::getRelocationValueRef(), getSymbol(), getSymbolLocalAddress(), getSymbolSectionID(), getSymbolTable(), llvm::RuntimeDyldMachOARM::isAddrTargetThumb(), llvm::RuntimeDyldMachOARM::processRelocationRef(), and llvm::RuntimeDyldELF::processRelocationRef().
|
protected |
Definition at line 318 of file RuntimeDyldImpl.h.
Referenced by clearError(), hasError(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldMachO::loadObject(), and llvm::RuntimeDyldCOFF::loadObject().
|
protected |
Definition at line 292 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldELFMips::resolveRelocation(), and setMipsABI().
|
protected |
Definition at line 293 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldELFMips::resolveRelocation(), and setMipsABI().
|
protected |
Definition at line 291 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldELFMips::resolveRelocation(), and setMipsABI().
|
protected |
Definition at line 290 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::processRelocationRef(), writeInt16BE(), writeInt32BE(), and writeInt64BE().
|
protected |
Definition at line 309 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 245 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldCOFF::create(), llvm::RuntimeDyldELF::create(), llvm::RuntimeDyldMachO::create(), llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldELF::registerEHFrames(), and llvm::RuntimeDyldCOFFX86_64::registerEHFrames().
|
protected |
Definition at line 313 of file RuntimeDyldImpl.h.
Referenced by setNotifyStubEmitted().
|
protected |
Definition at line 297 of file RuntimeDyldImpl.h.
Referenced by setProcessAllSections().
|
protected |
Definition at line 279 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 248 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 255 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldCOFFAArch64::generateRelocationStub(), llvm::RuntimeDyldCOFFX86_64::generateRelocationStub(), llvm::RuntimeDyldCOFF::getDLLImportOffset(), llvm::RuntimeDyldMachO::getSection(), getSectionAddress(), getSectionContent(), getSectionLoadAddress(), llvm::RuntimeDyldMachOARM::isAddrTargetThumb(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldMachO::populateIndirectSymbolPointersSection(), llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldMachO::processScatteredVANILLA(), llvm::RuntimeDyldELF::registerEHFrames(), llvm::RuntimeDyldCOFFX86_64::registerEHFrames(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldCOFFAArch64::resolveRelocation(), llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldELFMips::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().