[all-commits] [llvm/llvm-project] 7790d6: [lldb-dap] Refactoring IOStream into Transport han...

John Harrison via All-commits all-commits at lists.llvm.org
Wed Mar 12 12:29:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7790d69cce048d7c81fceaf979fd2ec60e37476b
      https://github.com/llvm/llvm-project/commit/7790d69cce048d7c81fceaf979fd2ec60e37476b
  Author: John Harrison <harjohn at google.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/test/API/tools/lldb-dap/io/TestDAP_io.py
    M lldb/tools/lldb-dap/CMakeLists.txt
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h
    M lldb/tools/lldb-dap/Handler/InitializeRequestHandler.cpp
    R lldb/tools/lldb-dap/IOStream.cpp
    R lldb/tools/lldb-dap/IOStream.h
    A lldb/tools/lldb-dap/Transport.cpp
    A lldb/tools/lldb-dap/Transport.h
    M lldb/tools/lldb-dap/lldb-dap.cpp

  Log Message:
  -----------
  [lldb-dap] Refactoring IOStream into Transport handler. (#130026)

Instead of having two discrete InputStream and OutputStream helpers,
this merges the two into a unifed 'Transport' handler.

This handler is responsible for reading the DAP message headers, parsing
the resulting JSON and converting the messages into
`lldb_dap::protocol::Message`s for both input and output.

---------

Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>



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