[all-commits] [llvm/llvm-project] 1b1103: [lldb-vscode] Fix handling of RestartRequest argum...

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Thu May 11 13:13:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b11034c672fc90d35b4bc0e93f3507657b14094
      https://github.com/llvm/llvm-project/commit/1b11034c672fc90d35b4bc0e93f3507657b14094
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
    M lldb/test/API/tools/lldb-vscode/restart/TestVSCode_restart.py
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  [lldb-vscode] Fix handling of RestartRequest arguments.

According to the spec, RestartRequest has an optional "arguments" field, which
is a RestartArguments object. RestartArguments has its own optional "arguments"
field, which is a (LaunchRequestArguments | AttachRequestArguments) object. So
we need to to the "arguments" lookup twice to get to the actual launch
arguments.

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




More information about the All-commits mailing list