[all-commits] [llvm/llvm-project] 24438a: [lldb] Use Socket::CreatePair for launching debugs...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Jun 24 03:39:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24438aa4886dc32de58fef0fe18321caf619ed28
      https://github.com/llvm/llvm-project/commit/24438aa4886dc32de58fef0fe18321caf619ed28
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

  Log Message:
  -----------
  [lldb] Use Socket::CreatePair for launching debugserver (#145017)

This lets get rid of platform-specific code in ProcessGDBRemote and use
the
same code path (module differences in socket types) everywhere. It also
unlocks
further cleanups in the debugserver launching code.

The main effect of this change is that lldb on windows will now use the
`--fd` lldb-server argument for "local remote" debug sessions instead of
having lldb-server connect back to lldb. This is the same method used by
lldb on non-windows platforms (for many years) and "lldb-server
platform" on windows for truly remote debug sessions (for ~one year).

Depends on #145015.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list