[all-commits] [llvm/llvm-project] 1654d7: [lldb-dap] Add an option to provide a format for t...

Walter Erquinigo via All-commits all-commits at lists.llvm.org
Tue Nov 14 10:24:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1654d7dc38af3bd10ab55929161966601672c115
      https://github.com/llvm/llvm-project/commit/1654d7dc38af3bd10ab55929161966601672c115
  Author: Walter Erquinigo <a20012251 at gmail.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M lldb/include/lldb/API/SBFormat.h
    M lldb/include/lldb/API/SBThread.h
    M lldb/include/lldb/Target/Thread.h
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
    M lldb/source/API/SBThread.cpp
    M lldb/source/Target/Thread.cpp
    R lldb/test/API/tools/lldb-dap/correct-thread/Makefile
    R lldb/test/API/tools/lldb-dap/correct-thread/TestDAP_correct_thread.py
    R lldb/test/API/tools/lldb-dap/correct-thread/main.c
    A lldb/test/API/tools/lldb-dap/threads/Makefile
    A lldb/test/API/tools/lldb-dap/threads/TestDAP_threads.py
    A lldb/test/API/tools/lldb-dap/threads/main.c
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/lldb-dap.cpp
    M lldb/tools/lldb-dap/package.json

  Log Message:
  -----------
  [lldb-dap] Add an option to provide a format for threads (#72196)

When this option gets enabled, descriptions of threads will be generated
using the format provided in the launch configuration instead of
generating it manually in the dap code. This allows lldb-dap to show an
output similar to the one in the CLI.
This is very similar to https://github.com/llvm/llvm-project/pull/71843




More information about the All-commits mailing list