class RuntimeDyldChecker::MemoryRegionInfo

Declaration

class RuntimeDyldChecker::MemoryRegionInfo { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:76

Member Variables

private const char* ContentPtr = nullptr
private uint64_t Size = 0
private llvm::JITTargetAddress TargetAddress = 0

Method Overview

Methods

MemoryRegionInfo()

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:78

MemoryRegionInfo(
    ArrayRef<char> Content,
    llvm::JITTargetAddress TargetAddress)

Description

Constructor for symbols/sections with content.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:81

Parameters

ArrayRef<char> Content
llvm::JITTargetAddress TargetAddress

MemoryRegionInfo(
    uint64_t Size,
    llvm::JITTargetAddress TargetAddress)

Description

Constructor for zero-fill symbols/sections.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:86

Parameters

uint64_t Size
llvm::JITTargetAddress TargetAddress

ArrayRef<char> getContent() const

Description

Returns the content for this section if there is any.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:109

llvm::JITTargetAddress getTargetAddress() const

Description

Return the target address for this region.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:127

uint64_t getZeroFillLength() const

Description

Returns the zero-fill length for this section.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:115

bool isZeroFill() const

Description

Returns true if this is a zero-fill symbol/section.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:90

void setContent(ArrayRef<char> Content)

Description

Set the content for this memory region.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:96

Parameters

ArrayRef<char> Content

void setTargetAddress(
    llvm::JITTargetAddress TargetAddress)

Description

Set the target address for this region.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:121

Parameters

llvm::JITTargetAddress TargetAddress

void setZeroFill(uint64_t Size)

Description

Set a zero-fill length for this memory region.

Declared at: llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h:103

Parameters

uint64_t Size