[Lldb-commits] [PATCH] D17724: Replace getopt with llvm::cl in lldb driver
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 29 10:46:17 PST 2016
clayborg added a comment.
As long as both long and short options are still supported? Can you still type any of:
- --arch x86_64
- -arch x86_64
- -a x86_64
Are we able to track which options can be used with other options with the llvm solution? I didn't look too close. There were bits in the old option definitions which defined with options could be specified with which other options. The other thing that might throw people for a loop is if llvm doesn't support this style:
% lldb /bin/ls --arch=x86_64 -- -lAF
getopt_long allowed you to have arguments mixed in between the options so the arguments would have bee "/bin/ls" and "-lAF". Options would have been "--arch=x86_64".
More information about the lldb-commits