[Lldb-commits] [lldb] [lldb] For a host socket, add a method to print the listening address. (PR #118330)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 3 09:54:32 PST 2024


================
@@ -115,6 +115,18 @@ std::string TCPSocket::GetRemoteConnectionURI() const {
   return "";
 }
 
+std::vector<std::string> TCPSocket::GetListeningConnectionURI() const {
+  if (m_listen_sockets.empty())
+    return {};
+
----------------
labath wrote:

```suggestion
```

The common code handles this case just fine.

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


More information about the lldb-commits mailing list