[all-commits] [llvm/llvm-project] 6564ca: [trace] Fix errors when handling command arguments

walter erquinigo via All-commits all-commits at lists.llvm.org
Tue Jun 28 17:54:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6564ca188a122c79c36ad7e4b3d362fb22fbd0b5
      https://github.com/llvm/llvm-project/commit/6564ca188a122c79c36ad7e4b3d362fb22fbd0b5
  Author: Walter Erquinigo <wallace at fb.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Commands/CommandObjectThreadUtil.cpp
    M lldb/source/Commands/CommandObjectThreadUtil.h

  Log Message:
  -----------
  [trace] Fix errors when handling command arguments

https://reviews.llvm.org/D128453 recently added some safety checks for
command arguments. Unfortunately, some few commands started failing due
to that, and this diff fixes it. But fortunately, the fix is trivial, which is
simply declaring the argument that these commands will receive.

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




More information about the All-commits mailing list