forked from OSchip/llvm-project
[ELF2] Accept -X/-x as alias for -discard-locals/-discard-all.
llvm-svn: 248134
This commit is contained in:
parent
5445b2de50
commit
1ab83f8d8e
|
@ -19,5 +19,11 @@ def shared : Flag<["-"], "shared">,
|
||||||
def discard_all : Flag<["-"], "discard-all">,
|
def discard_all : Flag<["-"], "discard-all">,
|
||||||
HelpText<"Delete all local symbols">;
|
HelpText<"Delete all local symbols">;
|
||||||
|
|
||||||
|
def alias_discard_all: Flag<["-"], "x">,
|
||||||
|
Alias<discard_all>;
|
||||||
|
|
||||||
def discard_locals : Flag<["-"], "discard-locals">,
|
def discard_locals : Flag<["-"], "discard-locals">,
|
||||||
HelpText<"Delete temporary local symbols">;
|
HelpText<"Delete temporary local symbols">;
|
||||||
|
|
||||||
|
def alias_discard_locals: Flag<["-"], "X">,
|
||||||
|
Alias<discard_locals>;
|
||||||
|
|
Loading…
Reference in New Issue