llvm-project/lld/MinGW
Rui Ueyama 1f4cdcfec9 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
2017-09-14 18:33:21 +00:00
..
CMakeLists.txt lldMinGW itself doesn't require libpthread. 2017-09-13 07:59:07 +00:00
Driver.cpp Filenames are case-insensitive on Windows, so .DEF is the same as .def. 2017-09-14 18:33:09 +00:00
Options.td Accept not only --foo but also -foo. 2017-09-14 18:33:21 +00:00