LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::orc::ExecutorProcessControl::MemoryAccess Class Referenceabstract

APIs for manipulating memory in the target process. More...

#include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h"

Inheritance diagram for llvm::orc::ExecutorProcessControl::MemoryAccess:
Inheritance graph
[legend]

Public Types

using WriteResultFn = unique_function< void(Error)>
 Callback function for asynchronous writes.
 

Public Member Functions

virtual ~MemoryAccess ()
 
virtual void writeUInt8sAsync (ArrayRef< tpctypes::UInt8Write > Ws, WriteResultFn OnWriteComplete)=0
 
virtual void writeUInt16sAsync (ArrayRef< tpctypes::UInt16Write > Ws, WriteResultFn OnWriteComplete)=0
 
virtual void writeUInt32sAsync (ArrayRef< tpctypes::UInt32Write > Ws, WriteResultFn OnWriteComplete)=0
 
virtual void writeUInt64sAsync (ArrayRef< tpctypes::UInt64Write > Ws, WriteResultFn OnWriteComplete)=0
 
virtual void writeBuffersAsync (ArrayRef< tpctypes::BufferWrite > Ws, WriteResultFn OnWriteComplete)=0
 
virtual void writePointersAsync (ArrayRef< tpctypes::PointerWrite > Ws, WriteResultFn OnWriteComplete)=0
 
Error writeUInt8s (ArrayRef< tpctypes::UInt8Write > Ws)
 
Error writeUInt16s (ArrayRef< tpctypes::UInt16Write > Ws)
 
Error writeUInt32s (ArrayRef< tpctypes::UInt32Write > Ws)
 
Error writeUInt64s (ArrayRef< tpctypes::UInt64Write > Ws)
 
Error writeBuffers (ArrayRef< tpctypes::BufferWrite > Ws)
 
Error writePointers (ArrayRef< tpctypes::PointerWrite > Ws)
 

Detailed Description

APIs for manipulating memory in the target process.

Definition at line 101 of file ExecutorProcessControl.h.

Member Typedef Documentation

◆ WriteResultFn

Callback function for asynchronous writes.

Definition at line 104 of file ExecutorProcessControl.h.

Constructor & Destructor Documentation

◆ ~MemoryAccess()

llvm::orc::ExecutorProcessControl::MemoryAccess::~MemoryAccess ( )
virtualdefault

Member Function Documentation

◆ writeBuffers()

Error llvm::orc::ExecutorProcessControl::MemoryAccess::writeBuffers ( ArrayRef< tpctypes::BufferWrite Ws)
inline

Definition at line 158 of file ExecutorProcessControl.h.

References writeBuffersAsync().

◆ writeBuffersAsync()

virtual void llvm::orc::ExecutorProcessControl::MemoryAccess::writeBuffersAsync ( ArrayRef< tpctypes::BufferWrite Ws,
WriteResultFn  OnWriteComplete 
)
pure virtual

◆ writePointers()

Error llvm::orc::ExecutorProcessControl::MemoryAccess::writePointers ( ArrayRef< tpctypes::PointerWrite Ws)
inline

Definition at line 166 of file ExecutorProcessControl.h.

References writePointersAsync().

◆ writePointersAsync()

virtual void llvm::orc::ExecutorProcessControl::MemoryAccess::writePointersAsync ( ArrayRef< tpctypes::PointerWrite Ws,
WriteResultFn  OnWriteComplete 
)
pure virtual

◆ writeUInt16s()

Error llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt16s ( ArrayRef< tpctypes::UInt16Write Ws)
inline

Definition at line 134 of file ExecutorProcessControl.h.

References writeUInt16sAsync().

◆ writeUInt16sAsync()

virtual void llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt16sAsync ( ArrayRef< tpctypes::UInt16Write Ws,
WriteResultFn  OnWriteComplete 
)
pure virtual

◆ writeUInt32s()

Error llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt32s ( ArrayRef< tpctypes::UInt32Write Ws)
inline

Definition at line 142 of file ExecutorProcessControl.h.

References writeUInt32sAsync().

◆ writeUInt32sAsync()

virtual void llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt32sAsync ( ArrayRef< tpctypes::UInt32Write Ws,
WriteResultFn  OnWriteComplete 
)
pure virtual

◆ writeUInt64s()

Error llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt64s ( ArrayRef< tpctypes::UInt64Write Ws)
inline

Definition at line 150 of file ExecutorProcessControl.h.

References writeUInt64sAsync().

◆ writeUInt64sAsync()

virtual void llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt64sAsync ( ArrayRef< tpctypes::UInt64Write Ws,
WriteResultFn  OnWriteComplete 
)
pure virtual

◆ writeUInt8s()

Error llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt8s ( ArrayRef< tpctypes::UInt8Write Ws)
inline

Definition at line 126 of file ExecutorProcessControl.h.

References writeUInt8sAsync().

◆ writeUInt8sAsync()

virtual void llvm::orc::ExecutorProcessControl::MemoryAccess::writeUInt8sAsync ( ArrayRef< tpctypes::UInt8Write Ws,
WriteResultFn  OnWriteComplete 
)
pure virtual

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