[lld] r250812 - [ELF2] -l behavior is JoinedOrSeparate. Keeping consistency with ld here.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 03:03:14 PDT 2015


Author: grimar
Date: Tue Oct 20 05:03:14 2015
New Revision: 250812

URL: http://llvm.org/viewvc/llvm-project?rev=250812&view=rev
Log:
[ELF2] -l behavior is JoinedOrSeparate. Keeping consistency with ld here.

Modified:
    lld/trunk/ELF/Options.td

Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=250812&r1=250811&r2=250812&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Tue Oct 20 05:03:14 2015
@@ -49,7 +49,7 @@ def fini : Separate<["-"], "fini">, Meta
 def init : Separate<["-"], "init">, MetaVarName<"<symbol>">,
   HelpText<"Specify an initializer function">;
 
-def l : Joined<["-"], "l">, MetaVarName<"<libName>">,
+def l : JoinedOrSeparate<["-"], "l">, MetaVarName<"<libName>">,
   HelpText<"Root name of library to use">;
 
 def m : Separate<["-"], "m">,




More information about the llvm-commits mailing list