[lldb] Fixing the bug that the "log timer" has no tab completion
authorShu Anzai <shu.anzai@gmail.com>
Thu, 9 Apr 2020 06:11:55 +0000 (08:11 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 9 Apr 2020 06:58:52 +0000 (08:58 +0200)
commit1d3b7370c466eba4bf22dce4a51f885f76698053
treec38e9b328e150b73838fe586c29d78df8b9e4944
parentc7ff5b38f27f812dcd6e2e8732208a39232dc284
[lldb] Fixing the bug that the "log timer" has no tab completion

I fixed the bug that the "log timer" has no tab command.

Original code has the only CommandObjectLogTimer class, but it is not
sufficient. Thus I divided the content of CommandObjectLog class into
CommandObjectLogEnable class, CommandObjectLogDisable class,
CommandObjectLogDump class, CommandObjectLogReset class,
CommandObjectLogIncrement class.

Reviewed by: teemperor

Differential Revision: https://reviews.llvm.org/D76906
lldb/source/Commands/CommandObjectLog.cpp
lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py