LLVM  8.0.1
Public Member Functions | List of all members
llvm::orc::RemoteObjectLayer< RPCEndpoint >::RemoteSymbolMaterializer Class Reference

This class is used as the symbol materializer for JITSymbols returned by RemoteObjectLayerClient/RemoteObjectLayerServer – the materializer knows how to call back to the other RPC endpoint to get the address when requested. More...

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

Public Member Functions

 RemoteSymbolMaterializer (RemoteObjectLayer &C, RemoteSymbolId Id)
 Construct a RemoteSymbolMaterializer for the given RemoteObjectLayer with the given Id. More...
 
 RemoteSymbolMaterializer (const RemoteSymbolMaterializer &Other)
 
RemoteSymbolMaterializeroperator= (const RemoteSymbolMaterializer &)=delete
 
 ~RemoteSymbolMaterializer ()
 Release the remote symbol. More...
 
Expected< JITTargetAddressmaterialize ()
 Materialize the symbol on the remote and get its address. More...
 

Detailed Description

template<typename RPCEndpoint>
class llvm::orc::RemoteObjectLayer< RPCEndpoint >::RemoteSymbolMaterializer

This class is used as the symbol materializer for JITSymbols returned by RemoteObjectLayerClient/RemoteObjectLayerServer – the materializer knows how to call back to the other RPC endpoint to get the address when requested.

Definition at line 131 of file RemoteObjectLayer.h.

Constructor & Destructor Documentation

◆ RemoteSymbolMaterializer() [1/2]

template<typename RPCEndpoint >
llvm::orc::RemoteObjectLayer< RPCEndpoint >::RemoteSymbolMaterializer::RemoteSymbolMaterializer ( RemoteObjectLayer C,
RemoteSymbolId  Id 
)
inline

Construct a RemoteSymbolMaterializer for the given RemoteObjectLayer with the given Id.

Definition at line 136 of file RemoteObjectLayer.h.

◆ RemoteSymbolMaterializer() [2/2]

template<typename RPCEndpoint >
llvm::orc::RemoteObjectLayer< RPCEndpoint >::RemoteSymbolMaterializer::RemoteSymbolMaterializer ( const RemoteSymbolMaterializer Other)
inline

Definition at line 140 of file RemoteObjectLayer.h.

◆ ~RemoteSymbolMaterializer()

template<typename RPCEndpoint >
llvm::orc::RemoteObjectLayer< RPCEndpoint >::RemoteSymbolMaterializer::~RemoteSymbolMaterializer ( )
inline

Release the remote symbol.

Definition at line 153 of file RemoteObjectLayer.h.

References C.

Member Function Documentation

◆ materialize()

template<typename RPCEndpoint >
Expected<JITTargetAddress> llvm::orc::RemoteObjectLayer< RPCEndpoint >::RemoteSymbolMaterializer::materialize ( )
inline

Materialize the symbol on the remote and get its address.

Definition at line 159 of file RemoteObjectLayer.h.

References C.

Referenced by llvm::orc::RemoteObjectLayer< RPCEndpoint >::remoteToJITSymbol().

◆ operator=()

template<typename RPCEndpoint >
RemoteSymbolMaterializer& llvm::orc::RemoteObjectLayer< RPCEndpoint >::RemoteSymbolMaterializer::operator= ( const RemoteSymbolMaterializer )
delete

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