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

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 3 09:43:26 PST 2024


================
@@ -115,6 +121,15 @@ std::string TCPSocket::GetRemoteConnectionURI() const {
   return "";
 }
 
+std::string TCPSocket::GetListeningConnectionURI() const {
----------------
ashgti wrote:

Since the listening sockets are a `std::map<int, SocketAddress>` it was very straightforward to adjust this without any new helpers.

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


More information about the lldb-commits mailing list