class RuntimeDyldELFMips

Declaration

class RuntimeDyldELFMips : public RuntimeDyldELF { /* full declaration omitted */ };

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:18

Inherits from: RuntimeDyldELF

Member Variables

Inherited from RuntimeDyldELF:

protected SectionToGOTMap

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 RuntimeDyldELFMips(RuntimeDyld::MemoryManager & MM, llvm::JITSymbolResolver & Resolver)
  • private void applyMIPSRelocation(uint8_t * TargetPtr, int64_t CalculatedValue, uint32_t Type)
  • private void applyRelocation(const llvm::RelocationEntry & RE, uint64_t Value)
  • private int64_t evaluateMIPS32Relocation(const llvm::SectionEntry & Section, uint64_t Offset, uint64_t Value, uint32_t Type)
  • private int64_t evaluateMIPS64Relocation(const llvm::SectionEntry & Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, llvm::RuntimeDyldImpl::SID SectionID)
  • private uint64_t evaluateRelocation(const llvm::RelocationEntry & RE, uint64_t Value, uint64_t Addend)
  • protected void resolveMIPSN32Relocation(const llvm::SectionEntry & Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, llvm::RuntimeDyldImpl::SID SectionID)
  • protected void resolveMIPSN64Relocation(const llvm::SectionEntry & Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, llvm::RuntimeDyldImpl::SID SectionID)
  • protected void resolveMIPSO32Relocation(const llvm::SectionEntry & Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend)
  • public void resolveRelocation(const llvm::RelocationEntry & RE, uint64_t Value)

Inherited from RuntimeDyldELF:

Inherited from RuntimeDyldImpl:

Methods

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

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:23

Parameters

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

void applyMIPSRelocation(uint8_t* TargetPtr,
                         int64_t CalculatedValue,
                         uint32_t Type)

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:58

Parameters

uint8_t* TargetPtr
int64_t CalculatedValue
uint32_t Type

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

Description

A object file specific relocation resolver

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:49

Parameters

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

int64_t evaluateMIPS32Relocation(
    const llvm::SectionEntry& Section,
    uint64_t Offset,
    uint64_t Value,
    uint32_t Type)

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:51

Parameters

const llvm::SectionEntry& Section
uint64_t Offset
uint64_t Value
uint32_t Type

int64_t evaluateMIPS64Relocation(
    const llvm::SectionEntry& Section,
    uint64_t Offset,
    uint64_t Value,
    uint32_t Type,
    int64_t Addend,
    uint64_t SymOffset,
    llvm::RuntimeDyldImpl::SID SectionID)

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:53

Parameters

const llvm::SectionEntry& Section
uint64_t Offset
uint64_t Value
uint32_t Type
int64_t Addend
uint64_t SymOffset
llvm::RuntimeDyldImpl::SID SectionID

uint64_t evaluateRelocation(
    const llvm::RelocationEntry& RE,
    uint64_t Value,
    uint64_t Addend)

Description

A object file specific relocation resolver

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:43

Parameters

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

void resolveMIPSN32Relocation(
    const llvm::SectionEntry& Section,
    uint64_t Offset,
    uint64_t Value,
    uint32_t Type,
    int64_t Addend,
    uint64_t SymOffset,
    llvm::RuntimeDyldImpl::SID SectionID)

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:32

Parameters

const llvm::SectionEntry& Section
uint64_t Offset
uint64_t Value
uint32_t Type
int64_t Addend
uint64_t SymOffset
llvm::RuntimeDyldImpl::SID SectionID

void resolveMIPSN64Relocation(
    const llvm::SectionEntry& Section,
    uint64_t Offset,
    uint64_t Value,
    uint32_t Type,
    int64_t Addend,
    uint64_t SymOffset,
    llvm::RuntimeDyldImpl::SID SectionID)

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:35

Parameters

const llvm::SectionEntry& Section
uint64_t Offset
uint64_t Value
uint32_t Type
int64_t Addend
uint64_t SymOffset
llvm::RuntimeDyldImpl::SID SectionID

void resolveMIPSO32Relocation(
    const llvm::SectionEntry& Section,
    uint64_t Offset,
    uint32_t Value,
    uint32_t Type,
    int32_t Addend)

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:30

Parameters

const llvm::SectionEntry& Section
uint64_t Offset
uint32_t Value
uint32_t Type
int32_t Addend

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

Description

A object file specific relocation resolver

Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h:27

Parameters

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