[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 01:13:44 PST 2024


================
@@ -176,8 +191,9 @@ Status TCPSocket::Listen(llvm::StringRef name, int backlog) {
 
   if (host_port->hostname == "*")
     host_port->hostname = "0.0.0.0";
-  std::vector<SocketAddress> addresses = SocketAddress::GetAddressInfo(
-      host_port->hostname.c_str(), nullptr, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP);
+  std::vector<SocketAddress> addresses =
----------------
labath wrote:

Please revert formatting only changes (I see them in almost any file).

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


More information about the lldb-commits mailing list