class JITLinkError

Declaration

class JITLinkError : public ErrorInfo { /* full declaration omitted */ };

Description

Base class for errors originating in JIT linker, e.g. missing relocation support.

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h:44

Inherits from: ErrorInfo

Member Variables

private std::string ErrMsg
public static char ID

Method Overview

Methods

JITLinkError(llvm::Twine ErrMsg)

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h:48

Parameters

llvm::Twine ErrMsg

std::error_code convertToErrorCode() const

Description

Convert this error to a std::error_code. This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h:52

const std::string& getErrorMessage() const

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h:51

void log(llvm::raw_ostream& OS) const

Description

Print an error message to an output stream.

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h:50

Parameters

llvm::raw_ostream& OS