LLVM  14.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. More...
 

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

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

Definition at line 22 of file ExecutorProcessControl.cpp.

Member Function Documentation

◆ writeBuffers()

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

Definition at line 155 of file ExecutorProcessControl.h.

References writeBuffersAsync().

◆ writeBuffersAsync()

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

Implemented in llvm::orc::EPCGenericMemoryAccess.

Referenced by writeBuffers().

◆ writeUInt16s()

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

Definition at line 131 of file ExecutorProcessControl.h.

References writeUInt16sAsync().

◆ writeUInt16sAsync()

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

Implemented in llvm::orc::EPCGenericMemoryAccess.

Referenced by writeUInt16s().

◆ writeUInt32s()

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

Definition at line 139 of file ExecutorProcessControl.h.

References writeUInt32sAsync().

◆ writeUInt32sAsync()

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

Implemented in llvm::orc::EPCGenericMemoryAccess.

Referenced by writeUInt32s().

◆ writeUInt64s()

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

Definition at line 147 of file ExecutorProcessControl.h.

References writeUInt64sAsync().

◆ writeUInt64sAsync()

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

Implemented in llvm::orc::EPCGenericMemoryAccess.

Referenced by writeUInt64s().

◆ writeUInt8s()

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

Definition at line 123 of file ExecutorProcessControl.h.

References writeUInt8sAsync().

◆ writeUInt8sAsync()

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

Implemented in llvm::orc::EPCGenericMemoryAccess.

Referenced by writeUInt8s().


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