[trace] Fix errors when handling command arguments
authorWalter Erquinigo <wallace@fb.com>
Wed, 29 Jun 2022 00:38:17 +0000 (17:38 -0700)
committerWalter Erquinigo <wallace@fb.com>
Wed, 29 Jun 2022 00:54:30 +0000 (17:54 -0700)
commit6564ca188a122c79c36ad7e4b3d362fb22fbd0b5
tree276a109fb23e1484343282d119f9aeba27d711da
parent5dcc5254925ad84b3949b2bef8345579611bd6f9
[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
lldb/source/Commands/CommandObjectThread.cpp
lldb/source/Commands/CommandObjectThreadUtil.cpp
lldb/source/Commands/CommandObjectThreadUtil.h