CRTP base for errors raised while setting up optimization remarks.
Declared in <llvm/IR/LLVMRemarkStreamer.h>
template<typename ThisError>
struct LLVMRemarkSetupErrorInfo
: ErrorInfo<ThisError>
| Name | Description |
|---|---|
ErrorInfo<ThisError> | Base class for user error types. Users should declare their error types like: |
| Name | Description |
|---|---|
LLVMRemarkSetupErrorInfo [constructor] | Construct from an Error, capturing its message and error code. |
convertToErrorCode | Convert this error into a std::error_code. |
dynamicClassID | Return the dynamic class ID for this error instance. |
isA | Return true if this error is an instance of ClassID or a parent. |
log | Write this error's message to OS. |
| Name | Description |
|---|---|
classID | Return the RTTI class identifier for ThisErrT. |
| Name | Description |
|---|---|
EC | Error code associated with the setup failure. |
Msg | Human-readable description of the setup failure. |
| Name | Description |
|---|---|
Unnamed using | Inherit constructors from the parent error-info type. |
| Name | Description |
|---|---|
LLVMRemarkSetupFileError | Error raised when the remarks output file cannot be opened. |
LLVMRemarkSetupFormatError | Error raised when a remark serialization format is invalid. |
LLVMRemarkSetupPatternError | Error raised when a remark pass filter pattern is invalid. |