class SimpleRemoteEPCTransport

Declaration

class SimpleRemoteEPCTransport { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:77

Method Overview

  • public virtual void disconnect()
  • public virtual llvm::Error sendMessage(llvm::orc::SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, llvm::orc::ExecutorAddr TagAddr, ArrayRef<char> ArgBytes)
  • public virtual llvm::Error start()
  • public virtual ~SimpleRemoteEPCTransport()

Methods

virtual void disconnect()

Description

Trigger disconnection from the transport. The implementation should respond by calling handleDisconnect on the client once disconnection is complete. May be called more than once and from different threads.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:98

virtual llvm::Error sendMessage(
    llvm::orc::SimpleRemoteEPCOpcode OpC,
    uint64_t SeqNo,
    llvm::orc::ExecutorAddr TagAddr,
    ArrayRef<char> ArgBytes)

Description

Send a SimpleRemoteEPC message. This function may be called concurrently. Subclasses should implement locking if required for the underlying transport.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:92

Parameters

llvm::orc::SimpleRemoteEPCOpcode OpC
uint64_t SeqNo
llvm::orc::ExecutorAddr TagAddr
ArrayRef<char> ArgBytes

virtual llvm::Error start()

Description

Called during setup of the client to indicate that the client is ready to receive messages. Transport objects should not access the client until this method is called.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:86

virtual ~SimpleRemoteEPCTransport()

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:79