13#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_ORCERROR_H
14#define LLVM_EXECUTIONENGINE_ORC_SHARED_ORCERROR_H
20#include <system_error>
53 std::optional<std::string> Context = {});
54 std::error_code convertToErrorCode()
const override;
57 const std::optional<std::string> &getContext()
const;
60 std::string SymbolName;
61 std::optional<std::string>
Context;
69 std::error_code convertToErrorCode()
const override;
73 std::string SymbolName;
static StringRef getSymbolName(SymbolKind SymKind)
Base class for user error types.
Errors of this type should be returned if a module fails to include definitions that are claimed by t...
Errors of this type should be returned if a module contains definitions for symbols that are not clai...
This class implements an extremely fast bulk output stream that can only output to a stream.
@ RemoteAllocatorDoesNotExist
@ RPCCouldNotNegotiateFunction
@ UnknownErrorCodeFromRemote
@ RemoteMProtectAddrUnrecognized
@ RemoteIndirectStubsOwnerDoesNotExist
@ RemoteAllocatorIdAlreadyInUse
@ RemoteIndirectStubsOwnerIdAlreadyInUse
LLVM_ABI std::error_code orcError(OrcErrorCode ErrCode)
This is an optimization pass for GlobalISel generic memory operations.