[Lldb-commits] [lldb] [lldb-dap] Adding support for cancelling a request. (PR #130169)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 31 14:35:27 PDT 2025


================
@@ -19,10 +19,39 @@
 #include "lldb/lldb-forward.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/Support/Error.h"
-#include <optional>
+#include <chrono>
+#include <system_error>
 
 namespace lldb_dap {
 
+class EndOfFileError : public llvm::ErrorInfo<EndOfFileError> {
+public:
+  static char ID;
+
+  EndOfFileError() = default;
+
+  void log(llvm::raw_ostream &OS) const override {
+    OS << "End of file reached.";
----------------
ashgti wrote:

Done.

https://github.com/llvm/llvm-project/pull/130169


More information about the lldb-commits mailing list