[all-commits] [llvm/llvm-project] 998b28: [lldb-dap] Refactoring lldb-dap port listening mod...

John Harrison via All-commits all-commits at lists.llvm.org
Fri Feb 21 18:31:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 998b28f19672ba49925e25f1a78c1252f017c247
      https://github.com/llvm/llvm-project/commit/998b28f19672ba49925e25f1a78c1252f017c247
  Author: John Harrison <harjohn at google.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
    A lldb/test/API/tools/lldb-dap/server/Makefile
    A lldb/test/API/tools/lldb-dap/server/TestDAP_server.py
    A lldb/test/API/tools/lldb-dap/server/main.c
    M lldb/test/Shell/DAP/TestOptions.test
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h
    M lldb/tools/lldb-dap/IOStream.cpp
    M lldb/tools/lldb-dap/Options.td
    M lldb/tools/lldb-dap/OutputRedirector.cpp
    M lldb/tools/lldb-dap/lldb-dap.cpp

  Log Message:
  -----------
  [lldb-dap] Refactoring lldb-dap port listening mode to allow multiple connections. (#116392)

This adjusts the lldb-dap listening mode to accept multiple clients.
Each client initializes a new instance of DAP and an associated
`lldb::SBDebugger` instance.

The listening mode is configured with the `--connection` option and
supports listening on a port or a unix socket on supported platforms.

When running in server mode launch and attach performance should
be improved by lldb sharing symbols for core libraries between debug
sessions.



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