LLVM
8.0.1
|
#include "ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h"
Public Member Functions | |
RuntimeDyldImpl (RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver) | |
virtual | ~RuntimeDyldImpl () |
void | setProcessAllSections (bool ProcessAllSections) |
void | setRuntimeDyldChecker (RuntimeDyldCheckerImpl *Checker) |
virtual std::unique_ptr< RuntimeDyld::LoadedObjectInfo > | loadObject (const object::ObjectFile &Obj)=0 |
uint8_t * | getSymbolLocalAddress (StringRef Name) const |
JITEvaluatedSymbol | getSymbol (StringRef Name) const |
std::map< StringRef, JITEvaluatedSymbol > | getSymbolTable () const |
void | resolveRelocations () |
void | resolveLocalRelocations () |
void | reassignSectionAddress (unsigned SectionID, uint64_t Addr) |
void | mapSectionAddress (const void *LocalAddress, uint64_t TargetAddress) |
bool | hasError () |
void | clearError () |
StringRef | getErrorString () |
virtual bool | isCompatibleFile (const ObjectFile &Obj) const =0 |
virtual void | registerEHFrames () |
void | deregisterEHFrames () |
virtual Error | finalizeLoad (const ObjectFile &ObjImg, ObjSectionToIDMap &SectionMap) |
Static Public Member Functions | |
static void | finalizeAsync (std::unique_ptr< RuntimeDyldImpl > This, std::function< void(Error)> OnEmitted, std::unique_ptr< MemoryBuffer > UnderlyingBuffer) |
Protected Types | |
typedef SmallVector< SectionEntry, 64 > | 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 |
Protected Member Functions | |
virtual unsigned | getMaxStubSize ()=0 |
virtual unsigned | getStubAlignment ()=0 |
uint64_t | getSectionLoadAddress (unsigned SectionID) const |
uint8_t * | getSectionAddress (unsigned SectionID) const |
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. More... | |
void | writeBytesUnaligned (uint64_t Value, uint8_t *Dst, unsigned Size) const |
Endian-aware write. More... | |
virtual Expected< JITSymbolFlags > | getJITSymbolFlags (const SymbolRef &Sym) |
Generate JITSymbolFlags from a libObject symbol. More... | |
virtual uint64_t | modifyAddressBasedOnFlags (uint64_t Addr, JITSymbolFlags Flags) const |
Modify the given target address based on the given symbol flags. More... | |
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. More... | |
Expected< unsigned > | emitSection (const ObjectFile &Obj, const SectionRef &Section, bool IsCode) |
Emits section data from the object file to the MemoryManager. More... | |
Expected< unsigned > | findOrEmitSection (const ObjectFile &Obj, const SectionRef &Section, bool IsCode, ObjSectionToIDMap &LocalSections) |
Find Section in LocalSections. More... | |
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. More... | |
void | resolveRelocationList (const RelocationList &Relocs, uint64_t Value) |
Resolves relocations from Relocs list with address from Value. More... | |
virtual void | resolveRelocation (const RelocationEntry &RE, uint64_t Value)=0 |
A object file specific relocation resolver. More... | |
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). More... | |
void | applyExternalSymbolRelocations (const StringMap< JITEvaluatedSymbol > ExternalSymbolMap) |
Error | resolveExternalSymbols () |
Resolve relocations to external symbols. More... | |
Error | computeTotalAllocSize (const ObjectFile &Obj, uint64_t &CodeSize, uint32_t &CodeAlign, uint64_t &RODataSize, uint32_t &RODataAlign, uint64_t &RWDataSize, uint32_t &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 bool | relocationNeedsGot (const RelocationRef &R) const |
virtual bool | relocationNeedsStub (const RelocationRef &R) const |
Protected Attributes | |
RuntimeDyld::MemoryManager & | MemMgr |
JITSymbolResolver & | Resolver |
RuntimeDyldCheckerImpl * | Checker |
SectionList | Sections |
RTDyldSymbolTable | GlobalSymbolTable |
std::unordered_map< unsigned, RelocationList > | Relocations |
StringMap< RelocationList > | ExternalSymbolRelocations |
Triple::ArchType | Arch |
bool | IsTargetLittleEndian |
bool | IsMipsO32ABI |
bool | IsMipsN32ABI |
bool | IsMipsN64ABI |
bool | ProcessAllSections |
sys::Mutex | lock |
bool | HasError |
std::string | ErrorStr |
Static Protected Attributes | |
static const unsigned | AbsoluteSymbolSection = ~0U |
Friends | |
class | RuntimeDyld::LoadedObjectInfo |
class | RuntimeDyldCheckerImpl |
Definition at line 242 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 273 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 267 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 280 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 259 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 262 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 292 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 473 of file RuntimeDyldImpl.h.
|
virtual |
Definition at line 70 of file RuntimeDyld.cpp.
|
protected |
Definition at line 846 of file RuntimeDyld.cpp.
Referenced by llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldMachOARM::finalizeSection(), llvm::RuntimeDyldMachOAArch64::finalizeSection(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), and llvm::RuntimeDyldELF::resolveRelocation().
|
protected |
Definition at line 851 of file RuntimeDyld.cpp.
References llvm::RelocationEntry::Addend, and llvm::AMDGPU::HSAMD::Kernel::Key::SymbolName.
Referenced by llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldMachOARM::finalizeSection(), llvm::RuntimeDyldMachOAArch64::finalizeSection(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), and llvm::RuntimeDyldELF::resolveRelocation().
|
protected |
Definition at line 1006 of file RuntimeDyld.cpp.
References assert(), llvm::dbgs(), llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), llvm::format(), LLVM_DEBUG, Name, llvm::report_fatal_error(), llvm::StringRef::size(), and UINT64_MAX.
|
inline |
Definition at line 556 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 569 of file RuntimeDyld.cpp.
References llvm::object::ObjectFile::section_begin(), llvm::object::ObjectFile::section_end(), and SI.
|
protected |
Definition at line 587 of file RuntimeDyld.cpp.
References llvm::object::SectionRef::getAlignment(), llvm::object::SectionRef::getSize(), llvm::object::ObjectFile::section_begin(), llvm::object::ObjectFile::section_end(), and SI.
|
protected |
Definition at line 467 of file RuntimeDyld.cpp.
References llvm::AMDGPU::HSAMD::Kernel::Arg::Key::Align, llvm::alignTo(), llvm::computeAllocationSizeForSections(), E, llvm::errorCodeToError(), llvm::object::SectionRef::getAlignment(), llvm::object::SectionRef::getName(), llvm::object::SectionRef::getSize(), I, llvm::isReadOnlyData(), llvm::isRequiredForExecution(), llvm::object::SectionRef::isText(), llvm::max(), Name, llvm::ARMBuildAttrs::Section, llvm::object::ObjectFile::section_begin(), llvm::object::ObjectFile::section_end(), llvm::COFF::SectionSize, llvm::object::BasicSymbolRef::SF_Common, SI, Size, llvm::Error::success(), llvm::object::SymbolicFile::symbol_begin(), and llvm::object::SymbolicFile::symbol_end().
|
protected |
Emits long jump instruction to Addr.
Definition at line 868 of file RuntimeDyld.cpp.
References llvm::Triple::aarch64, llvm::Triple::aarch64_be, 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::ppc64, llvm::Triple::ppc64le, llvm::Triple::systemz, llvm::Triple::x86, and llvm::Triple::x86_64.
Referenced by llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldCOFFX86_64::generateRelocationStub(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldELF::resolveRelocation().
void llvm::RuntimeDyldImpl::deregisterEHFrames | ( | ) |
Definition at line 79 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 656 of file RuntimeDyld.cpp.
References llvm::AMDGPU::HSAMD::Kernel::Arg::Key::Align, llvm::dbgs(), llvm::format(), llvm::object::Binary::getFileName(), LLVM_DEBUG, llvm::Intrinsic::memset, Name, llvm::OffsetToAlignment(), llvm::report_fatal_error(), Size, and llvm::Error::success().
|
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 713 of file RuntimeDyld.cpp.
References llvm::StringRef::data(), llvm::dbgs(), llvm::errorCodeToError(), llvm::format(), llvm::object::SectionRef::getAlignment(), llvm::object::SectionRef::getContents(), llvm::object::Binary::getFileName(), llvm::object::SectionRef::getName(), llvm::object::SectionRef::getSize(), llvm::isReadOnlyData(), llvm::isRequiredForExecution(), llvm::object::SectionRef::isVirtual(), llvm::isZeroInit(), LLVM_DEBUG, llvm::max(), llvm::Intrinsic::memcpy, llvm::Intrinsic::memset, Name, and llvm::report_fatal_error().
|
static |
Copy the result into a StringMap, where the keys are held by value.
Definition at line 1127 of file RuntimeDyld.cpp.
References assert(), llvm::StringRef::empty(), llvm::inconvertibleErrorCode(), Name, and llvm::Error::success().
|
inlinevirtual |
Reimplemented in llvm::RuntimeDyldCOFFX86_64, llvm::RuntimeDyldELF, and llvm::RuntimeDyldMachOCRTPBase< Impl >.
Definition at line 567 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 827 of file RuntimeDyld.cpp.
References if(), and llvm::ARMBuildAttrs::Section.
Referenced by llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldMachOARM::finalizeSection(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldCOFFX86_64::processRelocationRef().
|
inline |
Definition at line 559 of file RuntimeDyldImpl.h.
|
inlineprotectedvirtual |
Reimplemented in llvm::RuntimeDyldELF.
Definition at line 460 of file RuntimeDyldImpl.h.
|
protectedvirtual |
Generate JITSymbolFlags from a libObject symbol.
Reimplemented in llvm::RuntimeDyldMachOARM.
Definition at line 652 of file RuntimeDyld.cpp.
References llvm::JITSymbolFlags::fromObjectSymbol().
Referenced by llvm::RuntimeDyldMachOARM::getJITSymbolFlags().
|
protectedpure virtual |
|
inlineprotected |
Definition at line 326 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldCheckerImpl::checkAllRulesInBuffer(), llvm::RuntimeDyldMachOI386::finalizeSection(), and llvm::RuntimeDyldELFMips::resolveRelocation().
|
inlineprotected |
Definition at line 322 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELFMips::resolveRelocation().
|
protectedpure virtual |
|
inline |
Definition at line 505 of file RuntimeDyldImpl.h.
References llvm::StringMap< ValueTy, AllocatorTy >::end(), and llvm::StringMap< ValueTy, AllocatorTy >::find().
|
inline |
Definition at line 492 of file RuntimeDyldImpl.h.
References llvm::StringMap< ValueTy, AllocatorTy >::end(), and llvm::StringMap< ValueTy, AllocatorTy >::find().
Referenced by llvm::RuntimeDyldCheckerImpl::checkAllRulesInBuffer().
|
inline |
Definition at line 525 of file RuntimeDyldImpl.h.
References function.
|
inline |
Definition at line 553 of file RuntimeDyldImpl.h.
|
pure virtual |
Implemented in llvm::RuntimeDyldELF, llvm::RuntimeDyldMachO, and llvm::RuntimeDyldCOFF.
|
pure virtual |
Implemented in llvm::RuntimeDyldELF, llvm::RuntimeDyldMachO, and llvm::RuntimeDyldCOFF.
|
protected |
Definition at line 181 of file RuntimeDyld.cpp.
References llvm::object::ObjectFile::getArch(), and llvm::object::Binary::isLittleEndian().
Referenced by llvm::RuntimeDyldELF::loadObject().
void llvm::RuntimeDyldImpl::mapSectionAddress | ( | const void * | LocalAddress, |
uint64_t | TargetAddress | ||
) |
Definition at line 159 of file RuntimeDyld.cpp.
References 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 379 of file RuntimeDyldImpl.h.
References llvm::ARMBuildAttrs::Section, and llvm::AMDGPU::HSAMD::Kernel::Key::SymbolName.
|
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::RuntimeDyldMachOAArch64, llvm::RuntimeDyldCOFFX86_64, llvm::RuntimeDyldELF, llvm::RuntimeDyldMachOARM, llvm::RuntimeDyldCOFFThumb, llvm::RuntimeDyldCOFFI386, llvm::RuntimeDyldMachOI386, and llvm::RuntimeDyldMachOX86_64.
|
protected |
Endian-aware read Read the least significant Size bytes from Src.
Definition at line 621 of file RuntimeDyld.cpp.
Referenced by llvm::applyPPChighesta(), llvm::RuntimeDyldCheckerImpl::checkAllRulesInBuffer(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldMachOARM::finalizeSection(), llvm::RuntimeDyldMachOAArch64::finalizeSection(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldELFMips::resolveRelocation(), and llvm::RuntimeDyldMachOARM::resolveRelocation().
void llvm::RuntimeDyldImpl::reassignSectionAddress | ( | unsigned | SectionID, |
uint64_t | Addr | ||
) |
Definition at line 975 of file RuntimeDyld.cpp.
References llvm::dbgs(), llvm::format(), getName(), and LLVM_DEBUG.
|
virtual |
Reimplemented in llvm::RuntimeDyldCOFFThumb, llvm::RuntimeDyldCOFFX86_64, llvm::RuntimeDyldCOFFI386, llvm::RuntimeDyldELF, llvm::RuntimeDyldMachOCRTPBase< Impl >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOI386 >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOAArch64 >, llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOARM >, and llvm::RuntimeDyldMachOCRTPBase< RuntimeDyldMachOX86_64 >.
Definition at line 77 of file RuntimeDyld.cpp.
|
inlineprotectedvirtual |
Definition at line 463 of file RuntimeDyldImpl.h.
|
inlineprotectedvirtual |
Definition at line 468 of file RuntimeDyldImpl.h.
|
protected |
Resolve relocations to external symbols.
Definition at line 1071 of file RuntimeDyld.cpp.
References assert(), llvm::StringRef::empty(), llvm::StringMap< ValueTy, AllocatorTy >::insert(), Name, and llvm::Error::success().
void llvm::RuntimeDyldImpl::resolveLocalRelocations | ( | ) |
Definition at line 144 of file RuntimeDyld.cpp.
References llvm::dbgs(), llvm::format(), 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::RuntimeDyldMachOAArch64, llvm::RuntimeDyldMachOARM, llvm::RuntimeDyldELF, llvm::RuntimeDyldCOFFThumb, llvm::RuntimeDyldCOFFI386, llvm::RuntimeDyldMachOI386, llvm::RuntimeDyldCOFFX86_64, llvm::RuntimeDyldMachOX86_64, and llvm::RuntimeDyldELFMips.
|
protected |
Resolves relocations from Relocs list with address from Value.
Definition at line 995 of file RuntimeDyld.cpp.
References llvm::RelocationEntry::SectionID, and llvm::SmallVectorBase::size().
void llvm::RuntimeDyldImpl::resolveRelocations | ( | ) |
Definition at line 124 of file RuntimeDyld.cpp.
References llvm::dumpSectionMemory(), and LLVM_DEBUG.
|
inlineprotectedvirtual |
Definition at line 359 of file RuntimeDyldImpl.h.
References Size.
|
inline |
Definition at line 481 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 485 of file RuntimeDyldImpl.h.
|
protected |
Endian-aware write.
Write the least significant Size bytes from Value to Dst.
Definition at line 635 of file RuntimeDyld.cpp.
Referenced by llvm::RuntimeDyldMachOARM::finalizeSection(), llvm::RuntimeDyldELFMips::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
|
inlineprotected |
Definition at line 330 of file RuntimeDyldImpl.h.
References llvm::sys::swapByteOrder().
Referenced by llvm::applyPPChighesta().
|
inlineprotected |
Definition at line 337 of file RuntimeDyldImpl.h.
References llvm::sys::swapByteOrder().
Referenced by llvm::applyPPChighesta().
|
inlineprotected |
Definition at line 346 of file RuntimeDyldImpl.h.
References llvm::sys::swapByteOrder().
Referenced by llvm::applyPPChighesta().
|
friend |
Definition at line 243 of file RuntimeDyldImpl.h.
|
friend |
Definition at line 244 of file RuntimeDyldImpl.h.
Definition at line 246 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 294 of file RuntimeDyldImpl.h.
Referenced by llvm::applyPPChighesta(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldELF::isCompatibleFile(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldELF::resolveRelocation().
|
protected |
Definition at line 255 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::finalizeLoad().
|
protected |
Definition at line 320 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::loadObject().
|
protected |
Definition at line 289 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 270 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldCheckerImpl::checkAllRulesInBuffer(), llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::RuntimeDyldMachOAArch64::finalizeSection(), llvm::RuntimeDyldMachOARM::isAddrTargetThumb(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldELF::resolveRelocation().
|
protected |
Definition at line 319 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::loadObject().
|
protected |
Definition at line 297 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldELFMips::resolveRelocation().
|
protected |
Definition at line 298 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldELFMips::resolveRelocation().
|
protected |
Definition at line 296 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldELFMips::resolveRelocation().
|
protected |
Definition at line 295 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 314 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 249 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::create(), llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldELF::registerEHFrames(), and llvm::RuntimeDyldCOFFX86_64::registerEHFrames().
|
protected |
Definition at line 302 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 284 of file RuntimeDyldImpl.h.
|
protected |
Definition at line 252 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldCheckerImpl::checkAllRulesInBuffer(), and llvm::RuntimeDyldELF::create().
|
protected |
Definition at line 260 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldCheckerImpl::checkAllRulesInBuffer(), llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldMachOARM::finalizeSection(), llvm::RuntimeDyldMachOAArch64::finalizeSection(), llvm::RuntimeDyldCOFFX86_64::generateRelocationStub(), llvm::RuntimeDyldELF::getGOTEntrySize(), llvm::RuntimeDyldMachOARM::isAddrTargetThumb(), llvm::RuntimeDyldELF::loadObject(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldELF::registerEHFrames(), llvm::RuntimeDyldCOFFX86_64::registerEHFrames(), llvm::RuntimeDyldELFMips::resolveRelocation(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().