[Lldb-commits] [PATCH] D89477: [lldb] Port lldb gdb-server to libOption
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 15 08:56:11 PDT 2020
labath created this revision.
labath added reviewers: JDevlieghere, MaskRay.
Herald added subscribers: dang, mgorny.
Herald added a project: LLDB.
labath requested review of this revision.
The existing help text was very terse and was missing several important
options. In the new version, I add a short description of each option
and a slightly longer description of the tool as a whole.
The new option list does not include undocumented no-op options:
--debug and --verbose. It also does not include undocumented short
aliases for long options, with two exceptions: -h, because it's
well-known; and -S (--setsid), as it's used in one test. Using these
options will now produce an error. I believe that is acceptable as users
aren't generally invoking lldb-server directly, and the only way to
learn about the short aliases was by looking at the source.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89477
Files:
lldb/include/lldb/Utility/Args.h
lldb/source/Utility/Args.cpp
lldb/test/Shell/lldb-server/TestErrorMessages.test
lldb/tools/lldb-server/CMakeLists.txt
lldb/tools/lldb-server/LLGSOptions.td
lldb/tools/lldb-server/lldb-gdbserver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89477.298399.patch
Type: text/x-patch
Size: 19708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201015/9195d979/attachment-0001.bin>
More information about the lldb-commits
mailing list