LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
include
llvm
ExecutionEngine
Orc
OrcError.h
Go to the documentation of this file.
1
//===------ OrcError.h - Reject symbol lookup requests ------*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// Define an error category, error codes, and helper utilities for Orc.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_EXECUTIONENGINE_ORC_ORCERROR_H
15
#define LLVM_EXECUTIONENGINE_ORC_ORCERROR_H
16
17
#include "
llvm/Support/Error.h
"
18
#include <system_error>
19
20
namespace
llvm {
21
namespace
orc {
22
23
enum class
OrcErrorCode
: int {
24
// RPC Errors
25
RemoteAllocatorDoesNotExist
= 1,
26
RemoteAllocatorIdAlreadyInUse
,
27
RemoteMProtectAddrUnrecognized
,
28
RemoteIndirectStubsOwnerDoesNotExist
,
29
RemoteIndirectStubsOwnerIdAlreadyInUse
,
30
RPCResponseAbandoned
,
31
UnexpectedRPCCall
,
32
UnexpectedRPCResponse
,
33
UnknownRPCFunction
34
};
35
36
Error
orcError
(
OrcErrorCode
ErrCode);
37
38
}
// End namespace orc.
39
}
// End namespace llvm.
40
41
#endif // LLVM_EXECUTIONENGINE_ORC_ORCERROR_H
llvm::orc::OrcErrorCode::UnexpectedRPCCall
llvm::orc::OrcErrorCode::RemoteIndirectStubsOwnerIdAlreadyInUse
llvm::orc::OrcErrorCode::UnexpectedRPCResponse
llvm::orc::OrcErrorCode::UnknownRPCFunction
llvm::orc::OrcErrorCode::RPCResponseAbandoned
Error.h
llvm::orc::OrcErrorCode::RemoteAllocatorDoesNotExist
llvm::orc::OrcErrorCode::RemoteMProtectAddrUnrecognized
llvm::orc::OrcErrorCode
OrcErrorCode
Definition:
OrcError.h:23
llvm::orc::OrcErrorCode::RemoteIndirectStubsOwnerDoesNotExist
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition:
Support/Error.h:152
llvm::orc::orcError
Error orcError(OrcErrorCode ErrCode)
Definition:
OrcError.cpp:61
llvm::orc::OrcErrorCode::RemoteAllocatorIdAlreadyInUse
Generated on Wed Mar 8 2017 17:18:25 for LLVM by
1.8.6