LLVM 20.0.0git
Public Member Functions | List of all members
llvm::RuntimeDyldChecker::MemoryRegionInfo Class Reference

#include "llvm/ExecutionEngine/RuntimeDyldChecker.h"

Public Member Functions

 MemoryRegionInfo ()=default
 
 MemoryRegionInfo (ArrayRef< char > Content, JITTargetAddress TargetAddress, TargetFlagsType TargetFlags)
 Constructor for symbols/sections with content and TargetFlag.
 
 MemoryRegionInfo (uint64_t Size, JITTargetAddress TargetAddress)
 Constructor for zero-fill symbols/sections.
 
bool isZeroFill () const
 Returns true if this is a zero-fill symbol/section.
 
void setContent (ArrayRef< char > Content)
 Set the content for this memory region.
 
void setZeroFill (uint64_t Size)
 Set a zero-fill length for this memory region.
 
ArrayRef< chargetContent () const
 Returns the content for this section if there is any.
 
uint64_t getZeroFillLength () const
 Returns the zero-fill length for this section.
 
void setTargetAddress (JITTargetAddress TargetAddress)
 Set the target address for this region.
 
JITTargetAddress getTargetAddress () const
 Return the target address for this region.
 
TargetFlagsType getTargetFlags () const
 Get the target flags for this Symbol.
 
void setTargetFlags (TargetFlagsType Flags)
 Set the target flags for this Symbol.
 

Detailed Description

Definition at line 81 of file RuntimeDyldChecker.h.

Constructor & Destructor Documentation

◆ MemoryRegionInfo() [1/3]

llvm::RuntimeDyldChecker::MemoryRegionInfo::MemoryRegionInfo ( )
default

◆ MemoryRegionInfo() [2/3]

llvm::RuntimeDyldChecker::MemoryRegionInfo::MemoryRegionInfo ( ArrayRef< char Content,
JITTargetAddress  TargetAddress,
TargetFlagsType  TargetFlags 
)
inline

Constructor for symbols/sections with content and TargetFlag.

Definition at line 86 of file RuntimeDyldChecker.h.

References llvm::size().

◆ MemoryRegionInfo() [3/3]

llvm::RuntimeDyldChecker::MemoryRegionInfo::MemoryRegionInfo ( uint64_t  Size,
JITTargetAddress  TargetAddress 
)
inline

Constructor for zero-fill symbols/sections.

Definition at line 92 of file RuntimeDyldChecker.h.

Member Function Documentation

◆ getContent()

ArrayRef< char > llvm::RuntimeDyldChecker::MemoryRegionInfo::getContent ( ) const
inline

Returns the content for this section if there is any.

Definition at line 115 of file RuntimeDyldChecker.h.

References assert(), and isZeroFill().

◆ getTargetAddress()

JITTargetAddress llvm::RuntimeDyldChecker::MemoryRegionInfo::getTargetAddress ( ) const
inline

Return the target address for this region.

Definition at line 133 of file RuntimeDyldChecker.h.

◆ getTargetFlags()

TargetFlagsType llvm::RuntimeDyldChecker::MemoryRegionInfo::getTargetFlags ( ) const
inline

Get the target flags for this Symbol.

Definition at line 136 of file RuntimeDyldChecker.h.

◆ getZeroFillLength()

uint64_t llvm::RuntimeDyldChecker::MemoryRegionInfo::getZeroFillLength ( ) const
inline

Returns the zero-fill length for this section.

Definition at line 121 of file RuntimeDyldChecker.h.

References assert(), and isZeroFill().

◆ isZeroFill()

bool llvm::RuntimeDyldChecker::MemoryRegionInfo::isZeroFill ( ) const
inline

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

Definition at line 96 of file RuntimeDyldChecker.h.

References assert().

Referenced by getContent(), and getZeroFillLength().

◆ setContent()

void llvm::RuntimeDyldChecker::MemoryRegionInfo::setContent ( ArrayRef< char Content)
inline

Set the content for this memory region.

Definition at line 102 of file RuntimeDyldChecker.h.

References assert(), and Content.

◆ setTargetAddress()

void llvm::RuntimeDyldChecker::MemoryRegionInfo::setTargetAddress ( JITTargetAddress  TargetAddress)
inline

Set the target address for this region.

Definition at line 127 of file RuntimeDyldChecker.h.

References assert().

◆ setTargetFlags()

void llvm::RuntimeDyldChecker::MemoryRegionInfo::setTargetFlags ( TargetFlagsType  Flags)
inline

Set the target flags for this Symbol.

Definition at line 139 of file RuntimeDyldChecker.h.

References assert().

◆ setZeroFill()

void llvm::RuntimeDyldChecker::MemoryRegionInfo::setZeroFill ( uint64_t  Size)
inline

Set a zero-fill length for this memory region.

Definition at line 109 of file RuntimeDyldChecker.h.

References assert().


The documentation for this class was generated from the following file: