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

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 4 02:20:27 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;
----------------
slydiman wrote:

Updated. Fixed also a typo
`set`_socket_option_arg_type option_value_p =
      reinterpret_cast<`get`_socket_option_arg_type>(&option_value);

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


More information about the lldb-commits mailing list