class RuntimeDyldCOFFThumb

Declaration

class RuntimeDyldCOFFThumb : public RuntimeDyldCOFF { /* full declaration omitted */ };

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h:46

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 RuntimeDyldCOFFThumb(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:

Inherited from RuntimeDyldImpl:

Methods

RuntimeDyldCOFFThumb(
    RuntimeDyld::MemoryManager& MM,
    llvm::JITSymbolResolver& Resolver)

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h:48

Parameters

RuntimeDyld::MemoryManager& MM
llvm::JITSymbolResolver& Resolver

unsigned int getMaxStubSize() const

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h:52

unsigned int getStubAlignment()

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h:56

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/RuntimeDyldCOFFThumb.h:59

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()

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h:320

void resolveRelocation(
    const llvm::RelocationEntry& RE,
    uint64_t Value)

Description

A object file specific relocation resolver

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h:185

Parameters

const llvm::RelocationEntry& RE
The relocation to be resolved
uint64_t Value
Target symbol address to apply the relocation action