1 #ifndef TOOLS_LLVM_DWP_DWPERROR
2 #define TOOLS_LLVM_DWP_DWPERROR
4 #include "llvm/Support/Error.h"
5 #include "llvm/Support/ErrorHandling.h"
9 class DWPError
: public ErrorInfo
<DWPError
> {
11 DWPError(std::string Info
) : Info(std::move(Info
)) {}
12 void log(raw_ostream
&OS
) const override
{ OS
<< Info
; }
13 std::error_code
convertToErrorCode() const override
{
14 llvm_unreachable("Not implemented");