[Lldb-commits] [lldb] [lldb] Refactoring JSONTransport into an abstract RPC Message Handler and transport layer. (PR #153121)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 13 15:17:37 PDT 2025
================
@@ -54,112 +50,219 @@ class TransportUnhandledContentsError
std::string m_unhandled_contents;
};
-class TransportInvalidError : public llvm::ErrorInfo<TransportInvalidError> {
+/// A transport is responsible for maintaining the connection to a client
+/// application, and reading/writing structured messages to it.
+///
+/// Transports have limited thread safety requirements:
+/// - messages will not be sent concurrently
+/// - messages MAY be sent while Run() is reading, or its callback is active
----------------
ashgti wrote:
Done.
https://github.com/llvm/llvm-project/pull/153121
More information about the lldb-commits
mailing list