[Lldb-commits] [lldb] [lldb-dap] Refactoring lldb-dap port listening mode to allow multiple connections. (PR #116392)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 29 01:12:33 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("://")) {
----------------
labath wrote:
It looks like this could use `lldb/Utility/URIParser.h`
https://github.com/llvm/llvm-project/pull/116392
More information about the lldb-commits
mailing list