class SymbolRemappingParseError
Declaration
class SymbolRemappingParseError : public ErrorInfo { /* full declaration omitted */ };
Description
Base class for user error types. Users should declare their error types like: class MyError : public ErrorInfo <MyError > { .... }; This class provides an implementation of the ErrorInfoBase::kind method, which is used by the Error RTTI system.
Declared at: llvm/include/llvm/Support/SymbolRemappingReader.h:69
Inherits from: ErrorInfo
Member Variables
- public static char ID
Method Overview
- public SymbolRemappingParseError(llvm::StringRef File, int64_t Line, llvm::Twine Message)
- public std::error_code convertToErrorCode() const
- public llvm::StringRef getFileName() const
- public int64_t getLineNum() const
- public llvm::StringRef getMessage() const
- public void log(llvm::raw_ostream & OS) const
Methods
¶SymbolRemappingParseError(llvm::StringRef File,
int64_t Line,
llvm::Twine Message)
SymbolRemappingParseError(llvm::StringRef File,
int64_t Line,
llvm::Twine Message)
Declared at: llvm/include/llvm/Support/SymbolRemappingReader.h:71
Parameters
- llvm::StringRef File
- int64_t Line
- llvm::Twine Message
¶std::error_code convertToErrorCode() const
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/Support/SymbolRemappingReader.h:77
¶llvm::StringRef getFileName() const
llvm::StringRef getFileName() const
Declared at: llvm/include/llvm/Support/SymbolRemappingReader.h:81
¶int64_t getLineNum() const
int64_t getLineNum() const
Declared at: llvm/include/llvm/Support/SymbolRemappingReader.h:82
¶llvm::StringRef getMessage() const
llvm::StringRef getMessage() const
Declared at: llvm/include/llvm/Support/SymbolRemappingReader.h:83
¶void log(llvm::raw_ostream& OS) const
void log(llvm::raw_ostream& OS) const
Description
Print an error message to an output stream.
Declared at: llvm/include/llvm/Support/SymbolRemappingReader.h:74