[all-commits] [llvm/llvm-project] 66af49: [lldb-dap] Refactor reverse request response handl...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Feb 25 11:00:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66af4923ce245a0fd9427db8e4861354576d0866
      https://github.com/llvm/llvm-project/commit/66af4923ce245a0fd9427db8e4861354576d0866
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    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/RequestHandler.cpp
    A lldb/tools/lldb-dap/Handler/ResponseHandler.cpp
    A lldb/tools/lldb-dap/Handler/ResponseHandler.h

  Log Message:
  -----------
  [lldb-dap] Refactor reverse request response handlers (NFC) (#128594)

This refactors the response handlers for reverse request to follow the
same architecture as the request handlers. With only two implementation
that might be overkill, but it reduces code duplication and improves
error reporting by storing the sequence ID. This PR also fixes an
unchecked Expected in the old callback for unknown sequence IDs.



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