[ELF2] Accept -X/-x as alias for -discard-locals/-discard-all.

llvm-svn: 248134
This commit is contained in:
Davide Italiano 2015-09-20 23:35:56 +00:00
parent 5445b2de50
commit 1ab83f8d8e
1 changed files with 6 additions and 0 deletions

View File

@ -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>;