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

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

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

Inheritance diagram for llvm::orc::TargetProcessControl::MemoryAccess:
Inheritance graph

Public Types

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

Public Member Functions

virtual ~MemoryAccess ()
virtual void writeUInt8s (ArrayRef< tpctypes::UInt8Write > Ws, WriteResultFn OnWriteComplete)=0
virtual void writeUInt16s (ArrayRef< tpctypes::UInt16Write > Ws, WriteResultFn OnWriteComplete)=0
virtual void writeUInt32s (ArrayRef< tpctypes::UInt32Write > Ws, WriteResultFn OnWriteComplete)=0
virtual void writeUInt64s (ArrayRef< tpctypes::UInt64Write > Ws, WriteResultFn OnWriteComplete)=0
virtual void writeBuffers (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 35 of file TargetProcessControl.h.

Member Typedef Documentation

◆ WriteResultFn

Callback function for asynchronous writes.

Definition at line 38 of file TargetProcessControl.h.

Constructor & Destructor Documentation

◆ ~MemoryAccess()

llvm::orc::TargetProcessControl::MemoryAccess::~MemoryAccess ( )

Definition at line 21 of file TargetProcessControl.cpp.

Member Function Documentation

◆ writeBuffers() [1/2]

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

Definition at line 85 of file TargetProcessControl.h.

References writeBuffers().

◆ writeBuffers() [2/2]

virtual void llvm::orc::TargetProcessControl::MemoryAccess::writeBuffers ( ArrayRef< tpctypes::BufferWrite Ws,
WriteResultFn  OnWriteComplete 
pure virtual

◆ writeUInt16s() [1/2]

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

Definition at line 64 of file TargetProcessControl.h.

References writeUInt16s().

◆ writeUInt16s() [2/2]

virtual void llvm::orc::TargetProcessControl::MemoryAccess::writeUInt16s ( ArrayRef< tpctypes::UInt16Write Ws,
WriteResultFn  OnWriteComplete 
pure virtual

◆ writeUInt32s() [1/2]

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

Definition at line 71 of file TargetProcessControl.h.

References writeUInt32s().

◆ writeUInt32s() [2/2]

virtual void llvm::orc::TargetProcessControl::MemoryAccess::writeUInt32s ( ArrayRef< tpctypes::UInt32Write Ws,
WriteResultFn  OnWriteComplete 
pure virtual

◆ writeUInt64s() [1/2]

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

Definition at line 78 of file TargetProcessControl.h.

References writeUInt64s().

◆ writeUInt64s() [2/2]

virtual void llvm::orc::TargetProcessControl::MemoryAccess::writeUInt64s ( ArrayRef< tpctypes::UInt64Write Ws,
WriteResultFn  OnWriteComplete 
pure virtual

◆ writeUInt8s() [1/2]

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

Definition at line 57 of file TargetProcessControl.h.

References writeUInt8s().

◆ writeUInt8s() [2/2]

virtual void llvm::orc::TargetProcessControl::MemoryAccess::writeUInt8s ( ArrayRef< tpctypes::UInt8Write Ws,
WriteResultFn  OnWriteComplete 
pure virtual

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