LLVM  6.0.0svn
Public Member Functions | Static Public Attributes | List of all members
llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT > Class Template Reference

BadFunctionCall is returned from handleOne when the remote makes a call with an unrecognized function id. More...

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

Inheritance diagram for llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT >:
Collaboration graph
[legend]

Public Member Functions

 BadFunctionCall (FnIdT FnId, SeqNoT SeqNo)
 
std::error_code convertToErrorCode () const override
 
void log (raw_ostream &OS) const override
 
- Public Member Functions inherited from llvm::ErrorInfo< BadFunctionCall< FnIdT, SeqNoT >, RPCFatalError >
const void * dynamicClassID () const override
 
bool isA (const void *const ClassID) const override
 

Static Public Attributes

static char ID = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::ErrorInfo< BadFunctionCall< FnIdT, SeqNoT >, RPCFatalError >
static const void * classID ()
 

Detailed Description

template<typename FnIdT, typename SeqNoT>
class llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT >

BadFunctionCall is returned from handleOne when the remote makes a call with an unrecognized function id.

This error is fatal because Orc RPC needs to know how to parse a function call to know where the next call starts, and if it doesn't recognize the function id it cannot parse the call.

Definition at line 58 of file RPCUtils.h.

Constructor & Destructor Documentation

◆ BadFunctionCall()

template<typename FnIdT , typename SeqNoT >
llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT >::BadFunctionCall ( FnIdT  FnId,
SeqNoT  SeqNo 
)
inline

Definition at line 63 of file RPCUtils.h.

Member Function Documentation

◆ convertToErrorCode()

template<typename FnIdT , typename SeqNoT >
std::error_code llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT >::convertToErrorCode ( ) const
inlineoverride

Definition at line 66 of file RPCUtils.h.

References llvm::orc::orcError(), and llvm::orc::UnexpectedRPCCall.

◆ log()

template<typename FnIdT , typename SeqNoT >
void llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT >::log ( raw_ostream OS) const
inlineoverride

Definition at line 70 of file RPCUtils.h.

Member Data Documentation

◆ ID

template<typename FnIdT , typename SeqNoT >
char llvm::orc::rpc::BadFunctionCall< FnIdT, SeqNoT >::ID = 0
static

Definition at line 61 of file RPCUtils.h.


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