[Lldb-commits] [PATCH] D80165: [lldb/Driver] Fix handling on positional arguments

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 18 16:17:24 PDT 2020


clayborg added a comment.

So when talking about "prior to libOption", are we talking getopt()? I believe that getopt would have an issue with:

  $ lldb inferior --inferior-arg 

As it would not understand the argument. Or was there an intermediate llvm option parser we were using after getopt()?

And BTW, getopt allows arguments and options to be interspersed:

  $ lldb --lldb-option1 inferior --lldb-option2=123 inferior-arg1 -- --inferior-opt=444 inferior-arg2


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80165/new/

https://reviews.llvm.org/D80165





More information about the lldb-commits mailing list