diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index e9a2213b4e3d..5b140a6cbc5b 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -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; + def discard_locals : Flag<["-"], "discard-locals">, HelpText<"Delete temporary local symbols">; + +def alias_discard_locals: Flag<["-"], "X">, + Alias;