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

Walter Erquinigo via All-commits all-commits at lists.llvm.org
Mon Nov 13 18:10:29 PST 2023


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

  Changed paths:
    M lldb/bindings/headers.swig
    A lldb/bindings/interface/SBFormatDocstrings.i
    M lldb/bindings/interfaces.swig
    M lldb/include/lldb/API/SBDefines.h
    M lldb/include/lldb/API/SBError.h
    A lldb/include/lldb/API/SBFormat.h
    M lldb/include/lldb/API/SBFrame.h
    M lldb/include/lldb/Core/FormatEntity.h
    M lldb/include/lldb/Target/StackFrame.h
    M lldb/include/lldb/lldb-forward.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/CMakeLists.txt
    A lldb/source/API/SBFormat.cpp
    M lldb/source/API/SBFrame.cpp
    M lldb/source/Core/FormatEntity.cpp
    M lldb/source/Target/StackFrame.cpp
    A lldb/test/API/python_api/format/TestFormat.py
    M lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
    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 stack frames (#71843)

When this option gets enabled, descriptions of stack frames will be
generated using the format provided in the launch configuration instead
of simply calling `SBFrame::GetDisplayFunctionName`. This allows
lldb-dap to show an output similar to the one in the CLI.




More information about the All-commits mailing list