[all-commits] [llvm/llvm-project] 01c0a6: [lldb-vscode] Fix a GetChildAtIndex call (#65537)

Walter Erquinigo via All-commits all-commits at lists.llvm.org
Wed Sep 6 14:49:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01c0a6a0a4c7f9101a35d2ab056191ecff117db5
      https://github.com/llvm/llvm-project/commit/01c0a6a0a4c7f9101a35d2ab056191ecff117db5
  Author: Walter Erquinigo <a20012251 at gmail.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M lldb/tools/lldb-vscode/JSONUtils.cpp

  Log Message:
  -----------
  [lldb-vscode] Fix a GetChildAtIndex call (#65537)

We were invoking GetChildAtIndex(0) without checking the number of
children.
This was not crashing but was showing some warnings in python
formatters.




More information about the All-commits mailing list