class RuntimeDyldCOFFI386
Declaration
class RuntimeDyldCOFFI386 : public RuntimeDyldCOFF { /* full declaration omitted */ };
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h:24
Inherits from: RuntimeDyldCOFF
Member Variables
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
- public RuntimeDyldCOFFI386(RuntimeDyld::MemoryManager & MM, llvm::JITSymbolResolver & Resolver)
- public unsigned int getMaxStubSize() const
- public unsigned int getStubAlignment()
- public Expected<object::relocation_iterator> processRelocationRef(unsigned int SectionID, object::relocation_iterator RelI, const object::ObjectFile & Obj, llvm::RuntimeDyldImpl::ObjSectionToIDMap & ObjSectionToID, llvm::RuntimeDyldImpl::StubMap & Stubs)
- public void registerEHFrames()
- public void resolveRelocation(const llvm::RelocationEntry & RE, uint64_t Value)
Inherited from RuntimeDyldCOFF:
- public create
- protected getDLLImportOffset
- protected getImportSymbolPrefix
- protected getSymbolOffset
- public isCompatibleFile
- public loadObject
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
¶RuntimeDyldCOFFI386(
RuntimeDyld::MemoryManager& MM,
llvm::JITSymbolResolver& Resolver)
RuntimeDyldCOFFI386(
RuntimeDyld::MemoryManager& MM,
llvm::JITSymbolResolver& Resolver)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h:26
Parameters
- RuntimeDyld::MemoryManager& MM
- llvm::JITSymbolResolver& Resolver
¶unsigned int getMaxStubSize() const
unsigned int getMaxStubSize() const
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h:30
¶unsigned int getStubAlignment()
unsigned int getStubAlignment()
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h:34
¶Expected<object::relocation_iterator>
processRelocationRef(
unsigned int SectionID,
object::relocation_iterator RelI,
const object::ObjectFile& Obj,
llvm::RuntimeDyldImpl::ObjSectionToIDMap&
ObjSectionToID,
llvm::RuntimeDyldImpl::StubMap& Stubs)
Expected<object::relocation_iterator>
processRelocationRef(
unsigned int SectionID,
object::relocation_iterator RelI,
const object::ObjectFile& Obj,
llvm::RuntimeDyldImpl::ObjSectionToIDMap&
ObjSectionToID,
llvm::RuntimeDyldImpl::StubMap& Stubs)
Description
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).
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h:37
Parameters
- unsigned int SectionID
- object::relocation_iterator RelI
- const object::ObjectFile& Obj
- llvm::RuntimeDyldImpl::ObjSectionToIDMap& ObjSectionToID
- llvm::RuntimeDyldImpl::StubMap& Stubs
Returns
Iterator to the next relocation that needs to be parsed.
¶void registerEHFrames()
void registerEHFrames()
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h:222
¶void resolveRelocation(
const llvm::RelocationEntry& RE,
uint64_t Value)
void resolveRelocation(
const llvm::RelocationEntry& RE,
uint64_t Value)
Description
A object file specific relocation resolver
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h:142
Parameters
- const llvm::RelocationEntry& RE
- The relocation to be resolved
- uint64_t Value
- Target symbol address to apply the relocation action