Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:49

0001 #ifndef LLVM_DWP_DWPERROR_H
0002 #define LLVM_DWP_DWPERROR_H
0003 
0004 #include "llvm/Support/Error.h"
0005 #include "llvm/Support/ErrorHandling.h"
0006 #include <string>
0007 
0008 namespace llvm {
0009 class DWPError : public ErrorInfo<DWPError> {
0010 public:
0011   DWPError(std::string Info) : Info(std::move(Info)) {}
0012   void log(raw_ostream &OS) const override { OS << Info; }
0013   std::error_code convertToErrorCode() const override {
0014     llvm_unreachable("Not implemented");
0015   }
0016   static char ID;
0017 
0018 private:
0019   std::string Info;
0020 };
0021 } // namespace llvm
0022 
0023 #endif // LLVM_DWP_DWPERROR_H