[Lldb-commits] [PATCH] D89477: [lldb] Port lldb gdb-server to libOption
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 15 11:27:42 PDT 2020
JDevlieghere added inline comments.
================
Comment at: lldb/source/Utility/Args.cpp:178
+Args::Args(llvm::ArrayRef<llvm::StringRef> args) : Args() {
+ for (llvm::StringRef arg : args)
----------------
Maybe StringList should have a ctor that takes an `ArrayRef<StringRef>`, but probably not worth the extra copies here.
================
Comment at: lldb/tools/lldb-server/lldb-gdbserver.cpp:414
+ std::string HelpText =
+ "Use '" + Name + " --help' for a complete list of options.\n";
----------------
Should we extract this code into a utility that we can use here and in the lldb driver?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89477/new/
https://reviews.llvm.org/D89477
More information about the lldb-commits
mailing list