[Lldb-commits] [lldb] [lldb][NFC] Move few static helpers to the class Socket (PR #106640)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 3 23:42:37 PDT 2024


================
@@ -34,9 +34,11 @@ namespace lldb_private {
 #if defined(_WIN32)
 typedef SOCKET NativeSocket;
 typedef lldb::pipe_t shared_fd_t;
+typedef const char *set_socket_option_arg_type;
----------------
labath wrote:

Instead of exposing this quirk, it would be better to have a static version of `Socket::SetOption` to hide it.

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


More information about the lldb-commits mailing list