class RuntimeDyldCOFF
Declaration
class RuntimeDyldCOFF : public RuntimeDyldImpl { /* full declaration omitted */ };
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:26
Inherits from: RuntimeDyldImpl
Member Variables
- private unsigned int PointerSize
- private uint32_t PointerReloc
Inherited from RuntimeDyldImpl:
- protected MemMgr
- protected Resolver
- protected Sections
- protected GlobalSymbolTable
- protected Relocations
- protected ExternalSymbolRelocations
- protected Arch
- protected IsTargetLittleEndian
- protected IsMipsO32ABI
- protected IsMipsN32ABI
- protected IsMipsN64ABI
- protected ProcessAllSections
- protected lock
- protected NotifyStubEmitted
- protected HasError
- protected ErrorStr
- protected static AbsoluteSymbolSection = ~0U
Method Overview
- protected RuntimeDyldCOFF(RuntimeDyld::MemoryManager & MemMgr, llvm::JITSymbolResolver & Resolver, unsigned int PointerSize, uint32_t PointerReloc)
- public static std::unique_ptr<RuntimeDyldCOFF> create(Triple::ArchType Arch, RuntimeDyld::MemoryManager & MemMgr, llvm::JITSymbolResolver & Resolver)
- protected uint64_t getDLLImportOffset(unsigned int SectionID, llvm::RuntimeDyldImpl::StubMap & Stubs, llvm::StringRef Name, bool SetSectionIDMinus1 = false)
- protected static constexpr llvm::StringRef getImportSymbolPrefix()
- protected uint64_t getSymbolOffset(const llvm::object::SymbolRef & Sym)
- public bool isCompatibleFile(const object::ObjectFile & Obj) const
- public std::unique_ptr<RuntimeDyld::LoadedObjectInfo> loadObject(const object::ObjectFile & Obj)
Inherited from RuntimeDyldImpl:
- protected addRelocationForSection
- protected addRelocationForSymbol
- protected applyExternalSymbolRelocations
- public clearError
- protected computeGOTSize
- protected computeSectionStubBufSize
- protected computeTotalAllocSize
- protected createStubFunction
- public deregisterEHFrames
- protected emitCommonSymbols
- protected emitSection
- public finalizeAsync
- public finalizeLoad
- protected findOrEmitSection
- public getErrorString
- protected getGOTEntrySize
- protected getJITSymbolFlags
- protected getMaxStubSize
- public getSectionAddress
- public getSectionContent
- public getSectionLoadAddress
- protected getStubAlignment
- public getSymbol
- public getSymbolLocalAddress
- public getSymbolSectionID
- public getSymbolTable
- public hasError
- public isCompatibleFile
- public loadObject
- protected loadObjectImpl
- public mapSectionAddress
- protected modifyAddressBasedOnFlags
- protected processRelocationRef
- protected readBytesUnaligned
- public reassignSectionAddress
- public registerEHFrames
- protected relocationNeedsGot
- protected relocationNeedsStub
- protected resolveExternalSymbols
- public resolveLocalRelocations
- protected resolveRelocation
- protected resolveRelocationList
- public resolveRelocations
- protected setMipsABI
- public setNotifyStubEmitted
- public setProcessAllSections
- protected writeBytesUnaligned
- protected writeInt16BE
- protected writeInt32BE
- protected writeInt64BE
Methods
¶RuntimeDyldCOFF(
RuntimeDyld::MemoryManager& MemMgr,
llvm::JITSymbolResolver& Resolver,
unsigned int PointerSize,
uint32_t PointerReloc)
RuntimeDyldCOFF(
RuntimeDyld::MemoryManager& MemMgr,
llvm::JITSymbolResolver& Resolver,
unsigned int PointerSize,
uint32_t PointerReloc)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:38
Parameters
- RuntimeDyld::MemoryManager& MemMgr
- llvm::JITSymbolResolver& Resolver
- unsigned int PointerSize
- uint32_t PointerReloc
¶static std::unique_ptr<RuntimeDyldCOFF> create(
Triple::ArchType Arch,
RuntimeDyld::MemoryManager& MemMgr,
llvm::JITSymbolResolver& Resolver)
static std::unique_ptr<RuntimeDyldCOFF> create(
Triple::ArchType Arch,
RuntimeDyld::MemoryManager& MemMgr,
llvm::JITSymbolResolver& Resolver)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:34
Parameters
- Triple::ArchType Arch
- RuntimeDyld::MemoryManager& MemMgr
- llvm::JITSymbolResolver& Resolver
¶uint64_t getDLLImportOffset(
unsigned int SectionID,
llvm::RuntimeDyldImpl::StubMap& Stubs,
llvm::StringRef Name,
bool SetSectionIDMinus1 = false)
uint64_t getDLLImportOffset(
unsigned int SectionID,
llvm::RuntimeDyldImpl::StubMap& Stubs,
llvm::StringRef Name,
bool SetSectionIDMinus1 = false)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:47
Parameters
- unsigned int SectionID
- llvm::RuntimeDyldImpl::StubMap& Stubs
- llvm::StringRef Name
- bool SetSectionIDMinus1 = false
¶static constexpr llvm::StringRef
getImportSymbolPrefix()
static constexpr llvm::StringRef
getImportSymbolPrefix()
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:50
¶uint64_t getSymbolOffset(
const llvm::object::SymbolRef& Sym)
uint64_t getSymbolOffset(
const llvm::object::SymbolRef& Sym)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:46
Parameters
- const llvm::object::SymbolRef& Sym
¶bool isCompatibleFile(
const object::ObjectFile& Obj) const
bool isCompatibleFile(
const object::ObjectFile& Obj) const
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:31
Parameters
- const object::ObjectFile& Obj
¶std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
loadObject(const object::ObjectFile& Obj)
std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
loadObject(const object::ObjectFile& Obj)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h:30
Parameters
- const object::ObjectFile& Obj