Skip to content
  • Rui Ueyama's avatar
    Accept not only --foo but also -foo. · 1f4cdcfe
    Rui Ueyama authored
    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
    1f4cdcfe
Loading