]> granicus.if.org Git - clang/commitdiff
Make the -via-file-asm an InternalDebugOpt
authorDavid Peixotto <dpeixott@codeaurora.org>
Tue, 10 Dec 2013 18:49:55 +0000 (18:49 +0000)
committerDavid Peixotto <dpeixott@codeaurora.org>
Tue, 10 Dec 2013 18:49:55 +0000 (18:49 +0000)
We do not need to expose this flag to the user. This commit makes
the flag an interal debug option that will only display its help
when printing with --help-hidden.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196946 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td

index 5bd36a5f0cb47f1909f24bb17b84ffea8a1380de..091e25fa9abcb9391c96edc81dfc8a699e0083d5 100644 (file)
@@ -1231,7 +1231,7 @@ def rtlib_EQ : Joined<["-", "--"], "rtlib=">;
 def r : Flag<["-"], "r">;
 def save_temps : Flag<["-", "--"], "save-temps">, Flags<[DriverOption]>,
   HelpText<"Save intermediate compilation results">;
-def via_file_asm : Flag<["-", "--"], "via-file-asm">, Flags<[DriverOption]>,
+def via_file_asm : Flag<["-", "--"], "via-file-asm">, InternalDebugOpt,
   HelpText<"Write assembly to file for input to assemble jobs">;
 def sectalign : MultiArg<["-"], "sectalign", 3>;
 def sectcreate : MultiArg<["-"], "sectcreate", 3>;