r196946 - Make the -via-file-asm an InternalDebugOpt

David Peixotto dpeixott at codeaurora.org
Tue Dec 10 10:49:55 PST 2013


Author: dpeixott
Date: Tue Dec 10 12:49:55 2013
New Revision: 196946

URL: http://llvm.org/viewvc/llvm-project?rev=196946&view=rev
Log:
Make the -via-file-asm an InternalDebugOpt

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.

Modified:
    cfe/trunk/include/clang/Driver/Options.td

Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=196946&r1=196945&r2=196946&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Tue Dec 10 12:49:55 2013
@@ -1231,7 +1231,7 @@ def rtlib_EQ : Joined<["-", "--"], "rtli
 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>;





More information about the cfe-commits mailing list