Allow both -no-omagic and --no-omagic.

Any multi-character option that doesn't start with "o" should be
allowed to start both with "-" and "--".

llvm-svn: 324262
This commit is contained in:
Rui Ueyama 2018-02-05 19:14:03 +00:00
parent eedb663221
commit e80ce52cee
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ def no_dynamic_linker: F<"no-dynamic-linker">,
def noinhibit_exec: F<"noinhibit-exec">,
HelpText<"Retain the executable output file whenever it is still usable">;
def no_omagic: Flag<["--"], "no-omagic">, MetaVarName<"<magic>">,
def no_omagic: F<"no-omagic">, MetaVarName<"<magic>">,
HelpText<"Do not set the text data sections to be writable">;
def no_rosegment: F<"no-rosegment">,