[Lldb-commits] [lldb] [lldb-dap] Refactoring lldb-dap port listening mode to allow multiple connections. (PR #116392)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 30 10:44:14 PST 2025
================
@@ -4952,6 +4930,28 @@ static int DuplicateFileDescriptor(int fd) {
#endif
}
+static llvm::Expected<std::pair<Socket::SocketProtocol, std::string>>
+parseConnection(llvm::StringRef conn) {
+ if (conn.contains("://")) {
----------------
ashgti wrote:
Updated this to validate the connection and used the URI Parser to parse the connection.
https://github.com/llvm/llvm-project/pull/116392
More information about the lldb-commits
mailing list