diff options
author | Rui Ueyama <ruiu@google.com> | 2017-09-14 18:33:21 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-09-14 18:33:21 +0000 |
commit | 1f4cdcfec93e3c6fa7d9ccd552c6b48fab6831cc (patch) | |
tree | 2501b297c7786db92fe1269e72431b2a32bfaa0b /lldb/scripts/Python | |
parent | b359263011f3a7dfbc0200049ff5f039c17be49b (diff) | |
download | llvm-1f4cdcfec93e3c6fa7d9ccd552c6b48fab6831cc.zip llvm-1f4cdcfec93e3c6fa7d9ccd552c6b48fab6831cc.tar.gz llvm-1f4cdcfec93e3c6fa7d9ccd552c6b48fab6831cc.tar.bz2 |
Accept not only --foo but also -foo.
GNU ld manual says that multi-letter long option can be prefixed with
either -- or -. Therefore, we should accept not only --subsystem but
also -subsystem, for example.
There is one exception. If an option starts with "o", it should only be
prefixed with -- to avoid ambiguity with -o<filename> option.
Differential Revision: https://reviews.llvm.org/D37825
llvm-svn: 313286
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions