[lld] r248134 - [ELF2] Accept -X/-x as alias for -discard-locals/-discard-all.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 20 16:35:56 PDT 2015
Author: davide
Date: Sun Sep 20 18:35:56 2015
New Revision: 248134
URL: http://llvm.org/viewvc/llvm-project?rev=248134&view=rev
Log:
[ELF2] Accept -X/-x as alias for -discard-locals/-discard-all.
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=248134&r1=248133&r2=248134&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Sun Sep 20 18:35:56 2015
@@ -19,5 +19,11 @@ def shared : Flag<["-"], "shared">,
def discard_all : Flag<["-"], "discard-all">,
HelpText<"Delete all local symbols">;
+def alias_discard_all: Flag<["-"], "x">,
+ Alias<discard_all>;
+
def discard_locals : Flag<["-"], "discard-locals">,
HelpText<"Delete temporary local symbols">;
+
+def alias_discard_locals: Flag<["-"], "X">,
+ Alias<discard_locals>;
More information about the llvm-commits
mailing list