[all-commits] [llvm/llvm-project] ca71dc: [lldb-vscode] Adding support for the "disassemble"...

John Harrison via All-commits all-commits at lists.llvm.org
Mon Jul 31 09:45:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca71dc1b5404ac685c3190c45c342b01e94e4761
      https://github.com/llvm/llvm-project/commit/ca71dc1b5404ac685c3190c45c342b01e94e4761
  Author: John Harrison <harjohn at google.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
    M lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py
    A lldb/test/API/tools/lldb-vscode/disassemble/Makefile
    A lldb/test/API/tools/lldb-vscode/disassemble/TestVSCode_disassemble.py
    A lldb/test/API/tools/lldb-vscode/disassemble/main.c
    M lldb/tools/lldb-vscode/JSONUtils.cpp
    M lldb/tools/lldb-vscode/JSONUtils.h
    R lldb/tools/lldb-vscode/SourceReference.h
    M lldb/tools/lldb-vscode/VSCode.cpp
    M lldb/tools/lldb-vscode/VSCode.h
    M lldb/tools/lldb-vscode/VSCodeForward.h
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  [lldb-vscode] Adding support for the "disassemble" request.

Instead of creating psuedo source files for each stack frame this change adopts the new DAP “disassemble” request, allowing clients to inspect assembly instructions of files with debug info in addition to files without debug info.

[[ https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Disassemble | spec ]]

See attached screenshot of the disassembly view. {F28473848}

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D156493




More information about the All-commits mailing list