]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/clang/Driver/Options.td
Update clang to r96341.
[FreeBSD/FreeBSD.git] / include / clang / Driver / Options.td
1 //===--- DriverOptions.td - Options for clang -----------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 //  This file defines the options accepted by clang.
11 //
12 //===----------------------------------------------------------------------===//
13
14 // Include the common option parsing interfaces.
15 include "OptParser.td"
16
17 /////////
18 // Groups
19
20 // Meta-group which defines
21 def CompileOnly_Group     : OptionGroup<"<CompileOnly group>">;
22
23 def I_Group               : OptionGroup<"<I group>">, Group<CompileOnly_Group>;
24 def M_Group               : OptionGroup<"<M group>">, Group<CompileOnly_Group>;
25 def T_Group               : OptionGroup<"<T group>">;
26 def O_Group               : OptionGroup<"<O group>">, Group<CompileOnly_Group>;
27 def W_Group               : OptionGroup<"<W group>">, Group<CompileOnly_Group>;
28 def X_Group               : OptionGroup<"<X group>">;
29 def a_Group               : OptionGroup<"<a group>">;
30 def d_Group               : OptionGroup<"<d group>">;
31 def f_Group               : OptionGroup<"<f group>">, Group<CompileOnly_Group>;
32 def g_Group               : OptionGroup<"<g group>">;
33 def i_Group               : OptionGroup<"<i group>">, Group<CompileOnly_Group>;
34 def clang_i_Group         : OptionGroup<"<clang i group>">, Group<i_Group>;
35 def m_Group               : OptionGroup<"<m group>">, Group<CompileOnly_Group>;
36 def m_x86_Features_Group  : OptionGroup<"<m x86 features group>">, Group<m_Group>;
37 def u_Group               : OptionGroup<"<u group>">;
38
39 def pedantic_Group        : OptionGroup<"<pedantic group>">,
40   Group<CompileOnly_Group>;
41
42 // Temporary groups for clang options which we know we don't support,
43 // but don't want to verbosely warn the user about.
44 def clang_ignored_f_Group : OptionGroup<"<clang ignored f group>">,
45   Group<f_Group>;
46 def clang_ignored_m_Group : OptionGroup<"<clang ignored m group>">,
47   Group<m_Group>;
48
49 /////////
50 // Options
51
52 // The internal option ID must be a valid C++ identifier and results in a
53 // clang::driver::options::OPT_XX enum constant for XX.
54 //
55 // We want to unambiguously be able to refer to options from the driver source
56 // code, for this reason the option name is mangled into an ID. This mangling
57 // isn't guaranteed to have an inverse, but for practical purposes it does.
58 //
59 // The mangling scheme is to ignore the leading '-', and perform the following
60 // substitutions:
61 //   _ => __
62 //   - => _
63 //   # => _HASH
64 //   , => _COMMA
65 //   = => _EQ
66 //   C++ => CXX
67
68 // Developer Driver Options
69
70 def ccc_Group : OptionGroup<"<clang internal options>">;
71 def ccc_driver_Group : OptionGroup<"<clang driver internal options>">,
72   Group<ccc_Group>, HelpText<"DRIVER OPTIONS">;
73 def ccc_debug_Group : OptionGroup<"<clang debug/development internal options>">,
74   Group<ccc_Group>, HelpText<"DEBUG/DEVELOPMENT OPTIONS">;
75
76 class CCCDriverOpt : Group<ccc_driver_Group>, Flags<[DriverOption, HelpHidden]>;
77 def ccc_cxx : Flag<"-ccc-cxx">, CCCDriverOpt,
78   HelpText<"Act as a C++ driver">;
79 def ccc_echo : Flag<"-ccc-echo">, CCCDriverOpt,
80   HelpText<"Echo commands before running them">;
81 def ccc_gcc_name : Separate<"-ccc-gcc-name">, CCCDriverOpt,
82   HelpText<"Name for native GCC compiler">,
83   MetaVarName<"<gcc-path>">;
84 def ccc_clang_cxx : Flag<"-ccc-clang-cxx">, CCCDriverOpt,
85   HelpText<"Enable the clang compiler for C++">;
86 def ccc_no_clang_cxx : Flag<"-ccc-no-clang-cxx">, CCCDriverOpt,
87   HelpText<"Disable the clang compiler for C++">;
88 def ccc_no_clang : Flag<"-ccc-no-clang">, CCCDriverOpt,
89   HelpText<"Disable the clang compiler">;
90 def ccc_no_clang_cpp : Flag<"-ccc-no-clang-cpp">, CCCDriverOpt,
91   HelpText<"Disable the clang preprocessor">;
92 def ccc_clang_archs : Separate<"-ccc-clang-archs">, CCCDriverOpt,
93   HelpText<"Comma separate list of architectures to use the clang compiler for">,
94   MetaVarName<"<arch-list>">;
95 def ccc_pch_is_pch : Flag<"-ccc-pch-is-pch">, CCCDriverOpt,
96   HelpText<"Use lazy PCH for precompiled headers">;
97 def ccc_pch_is_pth : Flag<"-ccc-pch-is-pth">, CCCDriverOpt,
98   HelpText<"Use pretokenized headers for precompiled headers">;
99
100 class CCCDebugOpt : Group<ccc_debug_Group>, Flags<[DriverOption, HelpHidden]>;
101 def ccc_host_triple : Separate<"-ccc-host-triple">, CCCDebugOpt,
102   HelpText<"Simulate running on the given target">;
103 def ccc_install_dir : Separate<"-ccc-install-dir">, CCCDebugOpt,
104   HelpText<"Simulate installation in the given directory">;
105 def ccc_print_options : Flag<"-ccc-print-options">, CCCDebugOpt,
106   HelpText<"Dump parsed command line arguments">;
107 def ccc_print_phases : Flag<"-ccc-print-phases">, CCCDebugOpt,
108   HelpText<"Dump list of actions to perform">;
109 def ccc_print_bindings : Flag<"-ccc-print-bindings">, CCCDebugOpt,
110   HelpText<"Show bindings of tools to actions">;
111
112 // Make sure all other -ccc- options are rejected.
113 def ccc_ : Joined<"-ccc-">, Group<ccc_Group>, Flags<[Unsupported]>;
114
115 // Standard Options
116
117 def _HASH_HASH_HASH : Flag<"-###">, Flags<[DriverOption]>,
118     HelpText<"Print the commands to run for this compilation">;
119 def A : JoinedOrSeparate<"-A">;
120 def B : JoinedOrSeparate<"-B">, Flags<[Unsupported]>;
121 def CC : Flag<"-CC">;
122 def C : Flag<"-C">;
123 def D : JoinedOrSeparate<"-D">, Group<CompileOnly_Group>;
124 def E : Flag<"-E">, Flags<[DriverOption]>,
125   HelpText<"Only run the preprocessor">;
126 def F : JoinedOrSeparate<"-F">;
127 def H : Flag<"-H">;
128 def I_ : Flag<"-I-">, Group<I_Group>;
129 def I : JoinedOrSeparate<"-I">, Group<I_Group>;
130 def L : JoinedOrSeparate<"-L">;
131 def MD : Flag<"-MD">, Group<M_Group>;
132 def MF : JoinedOrSeparate<"-MF">, Group<M_Group>;
133 def MG : Flag<"-MG">, Group<M_Group>;
134 def MMD : Flag<"-MMD">, Group<M_Group>;
135 def MM : Flag<"-MM">, Group<M_Group>;
136 def MP : Flag<"-MP">, Group<M_Group>;
137 def MQ : JoinedOrSeparate<"-MQ">, Group<M_Group>;
138 def MT : JoinedOrSeparate<"-MT">, Group<M_Group>;
139 def Mach : Flag<"-Mach">;
140 def M : Flag<"-M">, Group<M_Group>;
141 def O4 : Joined<"-O4">, Group<O_Group>;
142 def ObjCXX : Flag<"-ObjC++">, Flags<[DriverOption]>,
143   HelpText<"Treat source input files as Objective-C++ inputs">;
144 def ObjC : Flag<"-ObjC">, Flags<[DriverOption]>,
145   HelpText<"Treat source input files as Objective-C inputs">;
146 def O : Joined<"-O">, Group<O_Group>;
147 def P : Flag<"-P">;
148 def Qn : Flag<"-Qn">;
149 def Qunused_arguments : Flag<"-Qunused-arguments">, Flags<[DriverOption]>,
150   HelpText<"Don't emit warning for unused driver arguments">;
151 def Q : Flag<"-Q">;
152 def R : Flag<"-R">;
153 def S : Flag<"-S">, Flags<[DriverOption]>,
154   HelpText<"Only run preprocess and compilation steps">;
155 def Tbss : JoinedOrSeparate<"-Tbss">, Group<T_Group>;
156 def Tdata : JoinedOrSeparate<"-Tdata">, Group<T_Group>;
157 def Ttext : JoinedOrSeparate<"-Ttext">, Group<T_Group>;
158 def T : JoinedOrSeparate<"-T">, Group<T_Group>;
159 def U : JoinedOrSeparate<"-U">, Group<CompileOnly_Group>;
160 def V : JoinedOrSeparate<"-V">, Flags<[DriverOption, Unsupported]>;
161 def Wa_COMMA : CommaJoined<"-Wa,">,
162   HelpText<"Pass the comma separated arguments in <arg> to the assembler">,
163   MetaVarName<"<arg>">;
164 def Wall : Flag<"-Wall">, Group<W_Group>;
165 def Wextra : Flag<"-Wextra">, Group<W_Group>;
166 def Wl_COMMA : CommaJoined<"-Wl,">, Flags<[LinkerInput, RenderAsInput]>,
167   HelpText<"Pass the comma separated arguments in <arg> to the linker">,
168   MetaVarName<"<arg>">;
169 def Wno_nonportable_cfstrings : Joined<"-Wno-nonportable-cfstrings">, Group<W_Group>;
170 def Wnonportable_cfstrings : Joined<"-Wnonportable-cfstrings">, Group<W_Group>;
171 def Wp_COMMA : CommaJoined<"-Wp,">,
172   HelpText<"Pass the comma separated arguments in <arg> to the preprocessor">,
173   MetaVarName<"<arg>">;
174 def W_Joined : Joined<"-W">, Group<W_Group>;
175 def Xanalyzer : Separate<"-Xanalyzer">,
176   HelpText<"Pass <arg> to the static analyzer">, MetaVarName<"<arg>">;
177 def Xarch__ : JoinedAndSeparate<"-Xarch_">, Flags<[DriverOption]>;
178 def Xassembler : Separate<"-Xassembler">,
179   HelpText<"Pass <arg> to the assembler">, MetaVarName<"<arg>">;
180 def Xclang : Separate<"-Xclang">,
181   HelpText<"Pass <arg> to the clang compiler">, MetaVarName<"<arg>">;
182 def Xlinker : Separate<"-Xlinker">, Flags<[LinkerInput, RenderAsInput]>,
183   HelpText<"Pass <arg> to the linker">, MetaVarName<"<arg>">;
184 def Xpreprocessor : Separate<"-Xpreprocessor">,
185   HelpText<"Pass <arg> to the preprocessor">, MetaVarName<"<arg>">;
186 def X_Flag : Flag<"-X">;
187 def X_Joined : Joined<"-X">;
188 def Z_Flag : Flag<"-Z">;
189 def Z_Joined : Joined<"-Z">;
190 def all__load : Flag<"-all_load">;
191 def allowable__client : Separate<"-allowable_client">;
192 def ansi : Flag<"-ansi">, Group<a_Group>;
193 def arch__errors__fatal : Flag<"-arch_errors_fatal">;
194 def arch : Separate<"-arch">, Flags<[DriverOption]>;
195 def a : Joined<"-a">, Group<a_Group>;
196 def bind__at__load : Flag<"-bind_at_load">;
197 def bundle__loader : Separate<"-bundle_loader">;
198 def bundle : Flag<"-bundle">;
199 def b : JoinedOrSeparate<"-b">, Flags<[Unsupported]>;
200 def client__name : JoinedOrSeparate<"-client_name">;
201 def combine : Flag<"-combine">, Flags<[DriverOption, Unsupported]>;
202 def compatibility__version : JoinedOrSeparate<"-compatibility_version">;
203 def coverage : Flag<"-coverage">;
204 def cpp_precomp : Flag<"-cpp-precomp">;
205 def current__version : JoinedOrSeparate<"-current_version">;
206 def c : Flag<"-c">, Flags<[DriverOption]>,
207   HelpText<"Only run preprocess, compile, and assemble steps">;
208 def dA : Flag<"-dA">, Group<d_Group>;
209 def dD : Flag<"-dD">, Group<d_Group>;
210 def dM : Flag<"-dM">, Group<d_Group>;
211 def dead__strip : Flag<"-dead_strip">;
212 def dependency_file : Separate<"-dependency-file">;
213 def dumpmachine : Flag<"-dumpmachine">, Flags<[Unsupported]>;
214 def dumpspecs : Flag<"-dumpspecs">, Flags<[Unsupported]>;
215 def dumpversion : Flag<"-dumpversion">;
216 def dylib__file : Separate<"-dylib_file">;
217 def dylinker__install__name : JoinedOrSeparate<"-dylinker_install_name">;
218 def dylinker : Flag<"-dylinker">;
219 def dynamiclib : Flag<"-dynamiclib">;
220 def dynamic : Flag<"-dynamic">, Flags<[NoArgumentUnused]>;
221 def d_Flag : Flag<"-d">, Group<d_Group>;
222 def d_Joined : Joined<"-d">, Group<d_Group>;
223 def emit_ast : Flag<"-emit-ast">,
224   HelpText<"Emit Clang AST files for source inputs">;
225 def emit_llvm : Flag<"-emit-llvm">,
226   HelpText<"Use the LLVM representation for assembler and object files">;
227 def exported__symbols__list : Separate<"-exported_symbols_list">;
228 def e : JoinedOrSeparate<"-e">;
229 def fPIC : Flag<"-fPIC">, Group<f_Group>;
230 def fPIE : Flag<"-fPIE">, Group<f_Group>;
231 def fapple_kext : Flag<"-fapple-kext">, Group<f_Group>;
232 def fasm_blocks : Flag<"-fasm-blocks">, Group<clang_ignored_f_Group>;
233 def fassume_sane_operator_new : Flag<"-fassume-sane-operator-new">, Group<f_Group>;
234 def fastcp : Flag<"-fastcp">, Group<f_Group>;
235 def fastf : Flag<"-fastf">, Group<f_Group>;
236 def fast : Flag<"-fast">, Group<f_Group>;
237 def fasynchronous_unwind_tables : Flag<"-fasynchronous-unwind-tables">, Group<f_Group>;
238 def fblock_introspection : Flag<"-fblock-introspection">, Group<f_Group>;
239 def fblocks : Flag<"-fblocks">, Group<f_Group>;
240 def fbootclasspath_EQ : Joined<"-fbootclasspath=">, Group<f_Group>;
241 def fbuiltin_strcat : Flag<"-fbuiltin-strcat">, Group<f_Group>;
242 def fbuiltin_strcpy : Flag<"-fbuiltin-strcpy">, Group<f_Group>;
243 def fbuiltin : Flag<"-fbuiltin">, Group<f_Group>;
244 def fcatch_undefined_behavior : Flag<"-fcatch-undefined-behavior">,
245     Group<f_Group>, HelpText<"Generate runtime checks for undefined behavior.">;
246 def fclasspath_EQ : Joined<"-fclasspath=">, Group<f_Group>;
247 def fcolor_diagnostics : Flag<"-fcolor-diagnostics">, Group<f_Group>;
248 def fcommon : Flag<"-fcommon">, Group<f_Group>;
249 def fcompile_resource_EQ : Joined<"-fcompile-resource=">, Group<f_Group>;
250 def fconstant_cfstrings : Flag<"-fconstant-cfstrings">, Group<clang_ignored_f_Group>;
251 def fconstant_string_class_EQ : Joined<"-fconstant-string-class=">, Group<f_Group>;
252 def fcreate_profile : Flag<"-fcreate-profile">, Group<f_Group>;
253 def fdebug_pass_arguments : Flag<"-fdebug-pass-arguments">, Group<f_Group>;
254 def fdebug_pass_structure : Flag<"-fdebug-pass-structure">, Group<f_Group>;
255 def fdiagnostics_binary : Flag<"-fdiagnostics-binary">, Group<f_Group>, Flags<[HelpHidden]>;
256 def fdiagnostics_fixit_info : Flag<"-fdiagnostics-fixit-info">, Group<f_Group>;
257 def fdiagnostics_print_source_range_info : Flag<"-fdiagnostics-print-source-range-info">, Group<f_Group>;
258 def fdiagnostics_show_option : Flag<"-fdiagnostics-show-option">, Group<f_Group>;
259 def fdollars_in_identifiers : Flag<"-fdollars-in-identifiers">, Group<f_Group>;
260 def feliminate_unused_debug_symbols : Flag<"-feliminate-unused-debug-symbols">, Group<f_Group>;
261 def femit_all_decls : Flag<"-femit-all-decls">, Group<f_Group>;
262 def fencoding_EQ : Joined<"-fencoding=">, Group<f_Group>;
263 def fexceptions : Flag<"-fexceptions">, Group<f_Group>;
264 def fextdirs_EQ : Joined<"-fextdirs=">, Group<f_Group>;
265 def ffreestanding : Flag<"-ffreestanding">, Group<f_Group>;
266 def fgnu_runtime : Flag<"-fgnu-runtime">, Group<f_Group>;
267 def fheinous_gnu_extensions : Flag<"-fheinous-gnu-extensions">;
268 def filelist : Separate<"-filelist">, Flags<[LinkerInput]>;
269 def findirect_virtual_calls : Flag<"-findirect-virtual-calls">, Group<f_Group>;
270 def finline_functions : Flag<"-finline-functions">, Group<clang_ignored_f_Group>;
271 def finline : Flag<"-finline">, Group<clang_ignored_f_Group>;
272 def fkeep_inline_functions : Flag<"-fkeep-inline-functions">, Group<clang_ignored_f_Group>;
273 def flat__namespace : Flag<"-flat_namespace">;
274 def flax_vector_conversions : Flag<"-flax-vector-conversions">, Group<f_Group>;
275 def flimited_precision_EQ : Joined<"-flimited-precision=">, Group<f_Group>;
276 def flto : Flag<"-flto">, Group<f_Group>;
277 def fmath_errno : Flag<"-fmath-errno">, Group<f_Group>;
278 def fmerge_all_constants : Flag<"-fmerge-all-constants">, Group<f_Group>;
279 def fmessage_length_EQ : Joined<"-fmessage-length=">, Group<f_Group>;
280 def fms_extensions : Flag<"-fms-extensions">, Group<f_Group>;
281 def fmudflapth : Flag<"-fmudflapth">, Group<f_Group>;
282 def fmudflap : Flag<"-fmudflap">, Group<f_Group>;
283 def fnested_functions : Flag<"-fnested-functions">, Group<f_Group>;
284 def fnext_runtime : Flag<"-fnext-runtime">, Group<f_Group>;
285 def fno_asynchronous_unwind_tables : Flag<"-fno-asynchronous-unwind-tables">, Group<f_Group>;
286 def fno_assume_sane_operator_new : Flag<"-fno-assume-sane-operator-new">, Group<f_Group>;
287 def fno_blocks : Flag<"-fno-blocks">, Group<f_Group>;
288 def fno_builtin_strcat : Flag<"-fno-builtin-strcat">, Group<f_Group>;
289 def fno_builtin_strcpy : Flag<"-fno-builtin-strcpy">, Group<f_Group>;
290 def fno_builtin : Flag<"-fno-builtin">, Group<f_Group>;
291 def fno_caret_diagnostics : Flag<"-fno-caret-diagnostics">, Group<f_Group>;
292 def fno_color_diagnostics : Flag<"-fno-color-diagnostics">, Group<f_Group>;
293 def fno_common : Flag<"-fno-common">, Group<f_Group>;
294 def fno_constant_cfstrings : Flag<"-fno-constant-cfstrings">, Group<f_Group>;
295 def fno_diagnostics_fixit_info : Flag<"-fno-diagnostics-fixit-info">, Group<f_Group>;
296 def fno_diagnostics_show_option : Flag<"-fno-diagnostics-show-option">, Group<f_Group>;
297 def fno_dollars_in_identifiers : Flag<"-fno-dollars-in-identifiers">, Group<f_Group>;
298 def fno_eliminate_unused_debug_symbols : Flag<"-fno-eliminate-unused-debug-symbols">, Group<f_Group>;
299 def fno_exceptions : Flag<"-fno-exceptions">, Group<f_Group>;
300 def fno_inline_functions : Flag<"-fno-inline-functions">, Group<clang_ignored_f_Group>;
301 def fno_inline : Flag<"-fno-inline">, Group<clang_ignored_f_Group>;
302 def fno_keep_inline_functions : Flag<"-fno-keep-inline-functions">, Group<clang_ignored_f_Group>;
303 def fno_math_errno : Flag<"-fno-math-errno">, Group<f_Group>;
304 def fno_merge_all_constants : Flag<"-fno-merge-all-constants">, Group<f_Group>;
305 def fno_ms_extensions : Flag<"-fno-ms-extensions">, Group<f_Group>;
306 def fno_objc_legacy_dispatch : Flag<"-fno-objc-legacy-dispatch">, Group<f_Group>;
307 def fno_omit_frame_pointer : Flag<"-fno-omit-frame-pointer">, Group<f_Group>;
308 def fno_pascal_strings : Flag<"-fno-pascal-strings">, Group<f_Group>;
309 def fno_rtti : Flag<"-fno-rtti">, Group<f_Group>;
310 def fno_show_column : Flag<"-fno-show-column">, Group<f_Group>;
311 def fno_show_source_location : Flag<"-fno-show-source-location">, Group<f_Group>;
312 def fno_stack_protector : Flag<"-fno-stack-protector">, Group<f_Group>;
313 def fno_strict_aliasing : Flag<"-fno-strict-aliasing">, Group<clang_ignored_f_Group>;
314 def fno_threadsafe_statics : Flag<"-fno-threadsafe-statics">, Group<f_Group>;
315 def fno_unit_at_a_time : Flag<"-fno-unit-at-a-time">, Group<f_Group>;
316 def fno_unwind_tables : Flag<"-fno-unwind-tables">, Group<f_Group>;
317 def fno_working_directory : Flag<"-fno-working-directory">, Group<f_Group>;
318 def fno_zero_initialized_in_bss : Flag<"-fno-zero-initialized-in-bss">, Group<f_Group>;
319 def fobjc_atdefs : Flag<"-fobjc-atdefs">, Group<clang_ignored_f_Group>;
320 def fobjc_call_cxx_cdtors : Flag<"-fobjc-call-cxx-cdtors">, Group<clang_ignored_f_Group>;
321 def fobjc_gc_only : Flag<"-fobjc-gc-only">, Group<f_Group>;
322 def fobjc_gc : Flag<"-fobjc-gc">, Group<f_Group>;
323 def fobjc_legacy_dispatch : Flag<"-fobjc-legacy-dispatch">, Group<f_Group>;
324 def fobjc_new_property : Flag<"-fobjc-new-property">, Group<clang_ignored_f_Group>;
325 def fobjc_nonfragile_abi : Flag<"-fobjc-nonfragile-abi">, Group<f_Group>;
326 def fobjc_nonfragile_abi2 : Flag<"-fobjc-nonfragile-abi2">, Group<f_Group>;
327 def fobjc_sender_dependent_dispatch : Flag<"-fobjc-sender-dependent-dispatch">, Group<f_Group>;
328 def fobjc : Flag<"-fobjc">, Group<f_Group>;
329 def fomit_frame_pointer : Flag<"-fomit-frame-pointer">, Group<f_Group>;
330 def fopenmp : Flag<"-fopenmp">, Group<f_Group>;
331 def force__cpusubtype__ALL : Flag<"-force_cpusubtype_ALL">;
332 def force__flat__namespace : Flag<"-force_flat_namespace">;
333 def foutput_class_dir_EQ : Joined<"-foutput-class-dir=">, Group<f_Group>;
334 def fpascal_strings : Flag<"-fpascal-strings">, Group<f_Group>;
335 def fpch_preprocess : Flag<"-fpch-preprocess">, Group<f_Group>;
336 def fpic : Flag<"-fpic">, Group<f_Group>;
337 def fpie : Flag<"-fpie">, Group<f_Group>;
338 def fprofile_arcs : Flag<"-fprofile-arcs">, Group<f_Group>;
339 def fprofile_generate : Flag<"-fprofile-generate">, Group<f_Group>;
340 def framework : Separate<"-framework">, Flags<[LinkerInput]>;
341 def frtti : Flag<"-frtti">, Group<f_Group>;
342 def fsched_interblock : Flag<"-fsched-interblock">, Group<clang_ignored_f_Group>;
343 def fshort_enums : Flag<"-fshort-enums">, Group<clang_ignored_f_Group>;
344 def freorder_blocks : Flag<"-freorder-blocks">, Group<clang_ignored_f_Group>;
345 def fshort_wchar : Flag<"-fshort-wchar">, Group<f_Group>;
346 def fshow_source_location : Flag<"-fshow-source-location">, Group<f_Group>;
347 def fsigned_bitfields : Flag<"-fsigned-bitfields">, Group<f_Group>;
348 def fsigned_char : Flag<"-fsigned-char">, Group<f_Group>;
349 def fstack_protector_all : Flag<"-fstack-protector-all">, Group<f_Group>;
350 def fstack_protector : Flag<"-fstack-protector">, Group<f_Group>;
351 def fstrict_aliasing : Flag<"-fstrict-aliasing">, Group<clang_ignored_f_Group>;
352 def fsyntax_only : Flag<"-fsyntax-only">, Flags<[DriverOption]>;
353 def ftabstop_EQ : Joined<"-ftabstop=">, Group<f_Group>;
354 def ftemplate_depth_ : Joined<"-ftemplate-depth-">, Group<f_Group>;
355 def fterminated_vtables : Flag<"-fterminated-vtables">, Group<f_Group>;
356 def fthreadsafe_statics : Flag<"-fthreadsafe-statics">, Group<f_Group>;
357 def ftime_report : Flag<"-ftime-report">, Group<f_Group>;
358 def ftrapv : Flag<"-ftrapv">, Group<f_Group>;
359 def funit_at_a_time : Flag<"-funit-at-a-time">, Group<f_Group>;
360 def funsigned_bitfields : Flag<"-funsigned-bitfields">, Group<f_Group>;
361 def funsigned_char : Flag<"-funsigned-char">, Group<f_Group>;
362 def funwind_tables : Flag<"-funwind-tables">, Group<f_Group>;
363 def fverbose_asm : Flag<"-fverbose-asm">, Group<f_Group>;
364 def fvisibility_EQ : Joined<"-fvisibility=">, Group<f_Group>;
365 def fwritable_strings : Flag<"-fwritable-strings">, Group<f_Group>;
366 def fzero_initialized_in_bss : Flag<"-fzero-initialized-in-bss">, Group<f_Group>;
367 def f : Joined<"-f">, Group<f_Group>;
368 def g0 : Joined<"-g0">, Group<g_Group>;
369 def g3 : Joined<"-g3">, Group<g_Group>;
370 def gfull : Joined<"-gfull">, Group<g_Group>;
371 def gstabs : Joined<"-gstabs">, Group<g_Group>;
372 def gused : Joined<"-gused">, Group<g_Group>;
373 def g_Flag : Flag<"-g">, Group<g_Group>;
374 def g_Joined : Joined<"-g">, Group<g_Group>;
375 def headerpad__max__install__names : Joined<"-headerpad_max_install_names">;
376 def idirafter : JoinedOrSeparate<"-idirafter">, Group<clang_i_Group>;
377 def iframework : JoinedOrSeparate<"-iframework">, Group<clang_i_Group>;
378 def imacros : JoinedOrSeparate<"-imacros">, Group<clang_i_Group>;
379 def image__base : Separate<"-image_base">;
380 def include_ : JoinedOrSeparate<"-include">, Group<clang_i_Group>, EnumName<"include">;
381 def init : Separate<"-init">;
382 def install__name : Separate<"-install_name">;
383 def integrated_as : Flag<"-integrated-as">, Flags<[DriverOption]>;
384 def iprefix : JoinedOrSeparate<"-iprefix">, Group<clang_i_Group>;
385 def iquote : JoinedOrSeparate<"-iquote">, Group<clang_i_Group>;
386 def isysroot : JoinedOrSeparate<"-isysroot">, Group<clang_i_Group>;
387 def isystem : JoinedOrSeparate<"-isystem">, Group<clang_i_Group>;
388 def iwithprefixbefore : JoinedOrSeparate<"-iwithprefixbefore">, Group<clang_i_Group>;
389 def iwithprefix : JoinedOrSeparate<"-iwithprefix">, Group<clang_i_Group>;
390 def iwithsysroot : JoinedOrSeparate<"-iwithsysroot">, Group<i_Group>;
391 def i : Joined<"-i">, Group<i_Group>;
392 def keep__private__externs : Flag<"-keep_private_externs">;
393 def l : JoinedOrSeparate<"-l">, Flags<[LinkerInput]>;
394 def m32 : Flag<"-m32">, Group<m_Group>, Flags<[DriverOption]>;
395 def m3dnowa : Flag<"-m3dnowa">, Group<m_x86_Features_Group>;
396 def m3dnow : Flag<"-m3dnow">, Group<m_x86_Features_Group>;
397 def m64 : Flag<"-m64">, Group<m_Group>, Flags<[DriverOption]>;
398 def mabi_EQ : Joined<"-mabi=">, Group<m_Group>, Flags<[DriverOption]>;
399 def march_EQ : Joined<"-march=">, Group<m_Group>, Flags<[DriverOption]>;
400 def mcmodel_EQ : Joined<"-mcmodel=">, Group<m_Group>, Flags<[DriverOption]>;
401 def mconstant_cfstrings : Flag<"-mconstant-cfstrings">, Group<clang_ignored_m_Group>;
402 def mcpu_EQ : Joined<"-mcpu=">, Group<m_Group>, Flags<[DriverOption]>;
403 def mdynamic_no_pic : Joined<"-mdynamic-no-pic">, Group<m_Group>, Flags<[NoArgumentUnused]>;
404 def mfix_and_continue : Flag<"-mfix-and-continue">, Group<clang_ignored_m_Group>;
405 def mfloat_abi_EQ : Joined<"-mfloat-abi=">, Group<m_Group>;
406 def mfpu_EQ : Joined<"-mfpu=">, Group<m_Group>;
407 def mhard_float : Flag<"-mhard-float">, Group<m_Group>;
408 def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group<m_Group>, Flags<[DriverOption]>;
409 def mkernel : Flag<"-mkernel">, Group<m_Group>;
410 def mllvm : Separate<"-mllvm">;
411 def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group<m_Group>, Flags<[DriverOption]>;
412 def mmmx : Flag<"-mmmx">, Group<m_x86_Features_Group>;
413 def mno_3dnowa : Flag<"-mno-3dnowa">, Group<m_x86_Features_Group>;
414 def mno_3dnow : Flag<"-mno-3dnow">, Group<m_x86_Features_Group>;
415 def mno_constant_cfstrings : Flag<"-mno-constant-cfstrings">, Group<m_Group>;
416 def mno_mmx : Flag<"-mno-mmx">, Group<m_x86_Features_Group>;
417 def mno_pascal_strings : Flag<"-mno-pascal-strings">, Group<m_Group>;
418 def mno_red_zone : Flag<"-mno-red-zone">, Group<m_Group>;
419 def mno_soft_float : Flag<"-mno-soft-float">, Group<m_Group>;
420 def mno_sse2 : Flag<"-mno-sse2">, Group<m_x86_Features_Group>;
421 def mno_sse3 : Flag<"-mno-sse3">, Group<m_x86_Features_Group>;
422 def mno_sse4a : Flag<"-mno-sse4a">, Group<m_x86_Features_Group>;
423 def mno_sse4 : Flag<"-mno-sse4">, Group<m_x86_Features_Group>;
424 def mno_sse : Flag<"-mno-sse">, Group<m_x86_Features_Group>;
425 def mno_ssse3 : Flag<"-mno-ssse3">, Group<m_x86_Features_Group>;
426
427 def mno_thumb : Flag<"-mno-thumb">, Group<m_Group>;
428 def marm : Flag<"-marm">, Alias<mno_thumb>;
429
430 def mno_warn_nonportable_cfstrings : Flag<"-mno-warn-nonportable-cfstrings">, Group<m_Group>;
431 def mpascal_strings : Flag<"-mpascal-strings">, Group<m_Group>;
432 def mred_zone : Flag<"-mred-zone">, Group<m_Group>;
433 def msoft_float : Flag<"-msoft-float">, Group<m_Group>;
434 def msse2 : Flag<"-msse2">, Group<m_x86_Features_Group>;
435 def msse3 : Flag<"-msse3">, Group<m_x86_Features_Group>;
436 def msse4a : Flag<"-msse4a">, Group<m_x86_Features_Group>;
437 def msse4 : Flag<"-msse4">, Group<m_x86_Features_Group>;
438 def msse : Flag<"-msse">, Group<m_x86_Features_Group>;
439 def mssse3 : Flag<"-mssse3">, Group<m_x86_Features_Group>;
440 def mthumb : Flag<"-mthumb">, Group<m_Group>;
441 def mtune_EQ : Joined<"-mtune=">, Group<m_Group>;
442 def multi__module : Flag<"-multi_module">;
443 def multiply__defined__unused : Separate<"-multiply_defined_unused">;
444 def multiply__defined : Separate<"-multiply_defined">;
445 def mwarn_nonportable_cfstrings : Flag<"-mwarn-nonportable-cfstrings">, Group<m_Group>;
446 def m_Separate : Separate<"-m">, Group<m_Group>;
447 def m_Joined : Joined<"-m">, Group<m_Group>;
448 def no_canonical_prefixes : Flag<"-no-canonical-prefixes">, Flags<[DriverOption, HelpHidden]>,
449   HelpText<"Use relative instead of canonical paths">;
450 def no_cpp_precomp : Flag<"-no-cpp-precomp">;
451 def no_integrated_as : Flag<"-no-integrated-as">, Flags<[DriverOption]>;
452 def no_integrated_cpp : Flag<"-no-integrated-cpp">, Flags<[DriverOption]>;
453 def no__dead__strip__inits__and__terms : Flag<"-no_dead_strip_inits_and_terms">;
454 def nobuiltininc : Flag<"-nobuiltininc">;
455 def nodefaultlibs : Flag<"-nodefaultlibs">;
456 def nofixprebinding : Flag<"-nofixprebinding">;
457 def nolibc : Flag<"-nolibc">;
458 def nomultidefs : Flag<"-nomultidefs">;
459 def noprebind : Flag<"-noprebind">;
460 def noseglinkedit : Flag<"-noseglinkedit">;
461 def nostartfiles : Flag<"-nostartfiles">;
462 def nostdinc : Flag<"-nostdinc">;
463 def nostdlib : Flag<"-nostdlib">;
464 def object : Flag<"-object">;
465 def o : JoinedOrSeparate<"-o">, Flags<[DriverOption, RenderAsInput]>,
466   HelpText<"Write output to <file>">, MetaVarName<"<file>">;
467 def pagezero__size : JoinedOrSeparate<"-pagezero_size">;
468 def pass_exit_codes : Flag<"-pass-exit-codes">, Flags<[Unsupported]>;
469 def pedantic_errors : Flag<"-pedantic-errors">, Group<pedantic_Group>;
470 def pedantic : Flag<"-pedantic">, Group<pedantic_Group>;
471 def pg : Flag<"-pg">;
472 def pipe : Flag<"-pipe">,
473   HelpText<"Use pipes between commands, when possible">;
474 def prebind__all__twolevel__modules : Flag<"-prebind_all_twolevel_modules">;
475 def prebind : Flag<"-prebind">;
476 def preload : Flag<"-preload">;
477 def print_file_name_EQ : Joined<"-print-file-name=">,
478   HelpText<"Print the full library path of <file>">, MetaVarName<"<file>">;
479 def print_ivar_layout : Flag<"-print-ivar-layout">;
480 def print_libgcc_file_name : Flag<"-print-libgcc-file-name">,
481   HelpText<"Print the library path for \"libgcc.a\"">;
482 def print_multi_directory : Flag<"-print-multi-directory">;
483 def print_multi_lib : Flag<"-print-multi-lib">;
484 def print_multi_os_directory : Flag<"-print-multi-os-directory">;
485 def print_prog_name_EQ : Joined<"-print-prog-name=">,
486   HelpText<"Print the full program path of <name>">, MetaVarName<"<name>">;
487 def print_search_dirs : Flag<"-print-search-dirs">,
488   HelpText<"Print the paths used for finding libraries and programs">;
489 def private__bundle : Flag<"-private_bundle">;
490 def pthreads : Flag<"-pthreads">;
491 def pthread : Flag<"-pthread">;
492 def p : Flag<"-p">;
493 def read__only__relocs : Separate<"-read_only_relocs">;
494 def remap : Flag<"-remap">;
495 def rewrite_objc : Flag<"-rewrite-objc">, Flags<[DriverOption]>,
496   HelpText<"Rewrite Objective-C source to C++">;
497 def rpath : Separate<"-rpath">, Flags<[LinkerInput]>;
498 def r : Flag<"-r">;
499 def save_temps : Flag<"-save-temps">, Flags<[DriverOption]>,
500   HelpText<"Save intermediate compilation results">;
501 def sectalign : MultiArg<"-sectalign", 3>;
502 def sectcreate : MultiArg<"-sectcreate", 3>;
503 def sectobjectsymbols : MultiArg<"-sectobjectsymbols", 2>;
504 def sectorder : MultiArg<"-sectorder", 3>;
505 def seg1addr : JoinedOrSeparate<"-seg1addr">;
506 def seg__addr__table__filename : Separate<"-seg_addr_table_filename">;
507 def seg__addr__table : Separate<"-seg_addr_table">;
508 def segaddr : MultiArg<"-segaddr", 2>;
509 def segcreate : MultiArg<"-segcreate", 3>;
510 def seglinkedit : Flag<"-seglinkedit">;
511 def segprot : MultiArg<"-segprot", 3>;
512 def segs__read__only__addr : Separate<"-segs_read_only_addr">;
513 def segs__read__write__addr : Separate<"-segs_read_write_addr">;
514 def segs__read__ : Joined<"-segs_read_">;
515 def shared_libgcc : Flag<"-shared-libgcc">;
516 def shared : Flag<"-shared">;
517 def single__module : Flag<"-single_module">;
518 def specs_EQ : Joined<"-specs=">;
519 def specs : Separate<"-specs">, Flags<[Unsupported]>;
520 def static_libgcc : Flag<"-static-libgcc">;
521 def static : Flag<"-static">, Flags<[NoArgumentUnused]>;
522 def std_default_EQ : Joined<"-std-default=">;
523 def std_EQ : Joined<"-std=">;
524 def sub__library : JoinedOrSeparate<"-sub_library">;
525 def sub__umbrella : JoinedOrSeparate<"-sub_umbrella">;
526 def s : Flag<"-s">;
527 def time : Flag<"-time">,
528   HelpText<"Time individual commands">;
529 def traditional_cpp : Flag<"-traditional-cpp">;
530 def traditional : Flag<"-traditional">;
531 def trigraphs : Flag<"-trigraphs">;
532 def twolevel__namespace__hints : Flag<"-twolevel_namespace_hints">;
533 def twolevel__namespace : Flag<"-twolevel_namespace">;
534 def t : Flag<"-t">;
535 def umbrella : Separate<"-umbrella">;
536 def undefined : JoinedOrSeparate<"-undefined">, Group<u_Group>;
537 def undef : Flag<"-undef">, Group<u_Group>;
538 def unexported__symbols__list : Separate<"-unexported_symbols_list">;
539 def u : JoinedOrSeparate<"-u">, Group<u_Group>;
540 def v : Flag<"-v">,
541   HelpText<"Show commands to run and use verbose output">;
542 def weak_l : Joined<"-weak-l">, Flags<[LinkerInput]>;
543 def weak__framework : Separate<"-weak_framework">, Flags<[LinkerInput]>;
544 def weak__library : Separate<"-weak_library">, Flags<[LinkerInput]>;
545 def weak__reference__mismatches : Separate<"-weak_reference_mismatches">;
546 def whatsloaded : Flag<"-whatsloaded">;
547 def whyload : Flag<"-whyload">;
548 def w : Flag<"-w">;
549 def x : JoinedOrSeparate<"-x">, Flags<[DriverOption]>,
550   HelpText<"Treat subsequent input files as having type <language>">,
551   MetaVarName<"<language>">;
552 def y : Joined<"-y">;
553
554 // Double dash options, which are usually an alias for one of the previous
555 // options.
556
557 def _CLASSPATH_EQ : Joined<"--CLASSPATH=">, Alias<fclasspath_EQ>;
558 def _CLASSPATH : Separate<"--CLASSPATH">, Alias<fclasspath_EQ>, Flags<[RenderJoined]>;
559 def _all_warnings : Flag<"--all-warnings">, Alias<Wall>;
560 def _analyze_auto : Flag<"--analyze-auto">, Flags<[DriverOption]>;
561 def _analyzer_no_default_checks : Flag<"--analyzer-no-default-checks">, Flags<[DriverOption]>;
562 def _analyzer_output : JoinedOrSeparate<"--analyzer-output">, Flags<[DriverOption]>;
563 def _analyze : Flag<"--analyze">, Flags<[DriverOption]>,
564   HelpText<"Run the static analyzer">;
565 def _ansi : Flag<"--ansi">, Alias<ansi>;
566 def _assemble : Flag<"--assemble">, Alias<S>;
567 def _assert_EQ : Joined<"--assert=">, Alias<A>, Flags<[RenderSeparate]>;
568 def _assert : Separate<"--assert">, Alias<A>;
569 def _bootclasspath_EQ : Joined<"--bootclasspath=">, Alias<fbootclasspath_EQ>;
570 def _bootclasspath : Separate<"--bootclasspath">, Alias<fbootclasspath_EQ>, Flags<[RenderJoined]>;
571 def _classpath_EQ : Joined<"--classpath=">, Alias<fclasspath_EQ>;
572 def _classpath : Separate<"--classpath">, Alias<fclasspath_EQ>, Flags<[RenderJoined]>;
573 def _combine : Flag<"--combine">, Alias<combine>, Flags<[Unsupported]>;
574 def _comments_in_macros : Flag<"--comments-in-macros">, Alias<CC>;
575 def _comments : Flag<"--comments">, Alias<C>;
576 def _compile : Flag<"--compile">, Alias<c>;
577 def _constant_cfstrings : Flag<"--constant-cfstrings">;
578 def _coverage : Flag<"--coverage">, Alias<coverage>;
579 def _debug_EQ : Joined<"--debug=">, Alias<g_Flag>, Flags<[Unsupported]>;
580 def _debug : Flag<"--debug">, Alias<g_Flag>, Flags<[Unsupported]>;
581 def _define_macro_EQ : Joined<"--define-macro=">, Alias<D>;
582 def _define_macro : Separate<"--define-macro">, Alias<D>, Flags<[RenderJoined]>;
583 def _dependencies : Flag<"--dependencies">, Alias<M>;
584 def _encoding_EQ : Joined<"--encoding=">, Alias<fencoding_EQ>;
585 def _encoding : Separate<"--encoding">, Alias<fencoding_EQ>, Flags<[RenderJoined]>;
586 def _entry : Flag<"--entry">, Alias<e>;
587 def _extdirs_EQ : Joined<"--extdirs=">, Alias<fextdirs_EQ>;
588 def _extdirs : Separate<"--extdirs">, Alias<fextdirs_EQ>, Flags<[RenderJoined]>;
589 def _extra_warnings : Flag<"--extra-warnings">, Alias<W_Joined>;
590 def _for_linker_EQ : Joined<"--for-linker=">, Alias<Xlinker>, Flags<[LinkerInput, RenderAsInput, RenderSeparate]>;
591 def _for_linker : Separate<"--for-linker">, Alias<Xlinker>, Flags<[LinkerInput, RenderAsInput]>;
592 def _force_link_EQ : Joined<"--force-link=">, Alias<u>, Flags<[RenderSeparate]>;
593 def _force_link : Separate<"--force-link">, Alias<u>;
594 def _help_hidden : Flag<"--help-hidden">;
595 def _help : Flag<"--help">,
596   HelpText<"Display available options">;
597 def _imacros_EQ : Joined<"--imacros=">, Alias<imacros>, Flags<[RenderSeparate]>;
598 def _imacros : Separate<"--imacros">, Alias<imacros>;
599 def _include_barrier : Flag<"--include-barrier">, Alias<I_>;
600 def _include_directory_after_EQ : Joined<"--include-directory-after=">, Alias<idirafter>, Flags<[RenderSeparate]>;
601 def _include_directory_after : Separate<"--include-directory-after">, Alias<idirafter>;
602 def _include_directory_EQ : Joined<"--include-directory=">, Alias<I>;
603 def _include_directory : Separate<"--include-directory">, Alias<I>, Flags<[RenderJoined]>;
604 def _include_prefix_EQ : Joined<"--include-prefix=">, Alias<iprefix>, Flags<[RenderSeparate]>;
605 def _include_prefix : Separate<"--include-prefix">, Alias<iprefix>;
606 def _include_with_prefix_after_EQ : Joined<"--include-with-prefix-after=">, Alias<iwithprefix>, Flags<[RenderSeparate]>;
607 def _include_with_prefix_after : Separate<"--include-with-prefix-after">, Alias<iwithprefix>;
608 def _include_with_prefix_before_EQ : Joined<"--include-with-prefix-before=">, Alias<iwithprefixbefore>, Flags<[RenderSeparate]>;
609 def _include_with_prefix_before : Separate<"--include-with-prefix-before">, Alias<iwithprefixbefore>;
610 def _include_with_prefix_EQ : Joined<"--include-with-prefix=">, Alias<iwithprefix>, Flags<[RenderSeparate]>;
611 def _include_with_prefix : Separate<"--include-with-prefix">, Alias<iwithprefix>;
612 def _include_EQ : Joined<"--include=">, Alias<include_>, Flags<[RenderSeparate]>;
613 def _include : Separate<"--include">, Alias<include_>;
614 def _language_EQ : Joined<"--language=">, Alias<x>, Flags<[RenderSeparate]>;
615 def _language : Separate<"--language">, Alias<x>;
616 def _library_directory_EQ : Joined<"--library-directory=">, Alias<L>, Flags<[RenderSeparate]>;
617 def _library_directory : Separate<"--library-directory">, Alias<L>;
618 def _machine__EQ : Joined<"--machine-=">, Alias<m_Joined>, Flags<[Unsupported]>;
619 def _machine_ : Joined<"--machine-">, Alias<m_Joined>, Flags<[Unsupported]>;
620 def _machine_EQ : Joined<"--machine=">, Alias<m_Joined>;
621 def _machine : Separate<"--machine">, Alias<m_Joined>, Flags<[RenderJoined]>;
622 def _no_integrated_cpp : Flag<"--no-integrated-cpp">, Alias<no_integrated_cpp>;
623 def _no_line_commands : Flag<"--no-line-commands">, Alias<P>;
624 def _no_standard_includes : Flag<"--no-standard-includes">, Alias<nostdinc>;
625 def _no_standard_libraries : Flag<"--no-standard-libraries">, Alias<nostdlib>;
626 def _no_undefined : Flag<"--no-undefined">, Flags<[LinkerInput]>;
627 def _no_warnings : Flag<"--no-warnings">, Alias<w>;
628 def _optimize_EQ : Joined<"--optimize=">, Alias<O>, Flags<[Unsupported]>;
629 def _optimize : Flag<"--optimize">, Alias<O>, Flags<[Unsupported]>;
630 def _output_class_directory_EQ : Joined<"--output-class-directory=">, Alias<foutput_class_dir_EQ>;
631 def _output_class_directory : Separate<"--output-class-directory">, Alias<foutput_class_dir_EQ>, Flags<[RenderJoined]>;
632 def _output_EQ : Joined<"--output=">, Alias<o>, Flags<[RenderSeparate]>;
633 def _output : Separate<"--output">, Alias<o>;
634 def _param : Separate<"--param">;
635 def _param_EQ : Joined<"--param=">, Alias<_param>, Flags<[RenderSeparate]>;
636 def _pass_exit_codes : Flag<"--pass-exit-codes">, Alias<pass_exit_codes>;
637 def _pedantic_errors : Flag<"--pedantic-errors">, Alias<pedantic_errors>;
638 def _pedantic : Flag<"--pedantic">, Alias<pedantic>;
639 def _pipe : Flag<"--pipe">, Alias<pipe>, Flags<[DriverOption]>;
640 def _prefix_EQ : Joined<"--prefix=">, Alias<B>, Flags<[RenderSeparate]>;
641 def _prefix : Separate<"--prefix">, Alias<B>;
642 def _preprocess : Flag<"--preprocess">, Alias<E>;
643 def _print_file_name_EQ : Joined<"--print-file-name=">, Alias<print_file_name_EQ>;
644 def _print_file_name : Separate<"--print-file-name">, Alias<print_file_name_EQ>;
645 def _print_libgcc_file_name : Flag<"--print-libgcc-file-name">, Alias<print_libgcc_file_name>;
646 def _print_missing_file_dependencies : Flag<"--print-missing-file-dependencies">, Alias<MG>;
647 def _print_multi_directory : Flag<"--print-multi-directory">, Alias<print_multi_directory>;
648 def _print_multi_lib : Flag<"--print-multi-lib">, Alias<print_multi_lib>;
649 def _print_multi_os_directory : Flag<"--print-multi-os-directory">, Alias<print_multi_os_directory>;
650 def _print_prog_name_EQ : Joined<"--print-prog-name=">, Alias<print_prog_name_EQ>;
651 def _print_prog_name : Separate<"--print-prog-name">, Alias<print_prog_name_EQ>;
652 def _print_search_dirs : Flag<"--print-search-dirs">, Alias<print_search_dirs>;
653 def _profile_blocks : Flag<"--profile-blocks">, Alias<a>;
654 def _profile : Flag<"--profile">, Alias<p>;
655 def _relocatable_pch : Flag<"--relocatable-pch">,
656   HelpText<"Build a relocatable precompiled header">;
657 def _resource_EQ : Joined<"--resource=">, Alias<fcompile_resource_EQ>;
658 def _resource : Separate<"--resource">, Alias<fcompile_resource_EQ>, Flags<[RenderJoined]>;
659 def _save_temps : Flag<"--save-temps">, Alias<save_temps>;
660 def _shared : Flag<"--shared">, Alias<shared>;
661 def _signed_char : Flag<"--signed-char">, Alias<fsigned_char>;
662 def _specs_EQ : Joined<"--specs=">, Alias<specs_EQ>, Flags<[Unsupported]>;
663 def _specs : Separate<"--specs">, Alias<specs_EQ>, Flags<[RenderJoined, Unsupported]>;
664 def _static : Flag<"--static">, Alias<static>;
665 def _std_EQ : Joined<"--std=">, Alias<std_EQ>;
666 def _std : Separate<"--std">, Alias<std_EQ>, Flags<[RenderJoined]>;
667 def _sysroot_EQ : Joined<"--sysroot=">;
668 def _sysroot : Separate<"--sysroot">, Alias<_sysroot_EQ>, Flags<[RenderJoined]>;
669 def _target_help : Flag<"--target-help">;
670 def _trace_includes : Flag<"--trace-includes">, Alias<H>;
671 def _traditional_cpp : Flag<"--traditional-cpp">, Alias<traditional_cpp>;
672 def _traditional : Flag<"--traditional">, Alias<traditional>;
673 def _trigraphs : Flag<"--trigraphs">, Alias<trigraphs>;
674 def _undefine_macro_EQ : Joined<"--undefine-macro=">, Alias<U>;
675 def _undefine_macro : Separate<"--undefine-macro">, Alias<U>, Flags<[RenderJoined]>;
676 def _unsigned_char : Flag<"--unsigned-char">, Alias<funsigned_char>;
677 def _user_dependencies : Flag<"--user-dependencies">, Alias<MM>;
678 def _verbose : Flag<"--verbose">, Alias<v>;
679 def _version : Flag<"--version">;
680 def _warn__EQ : Joined<"--warn-=">, Alias<W_Joined>, Flags<[Unsupported]>;
681 def _warn_ : Joined<"--warn-">, Alias<W_Joined>, Flags<[Unsupported]>;
682 def _write_dependencies : Flag<"--write-dependencies">, Alias<MD>;
683 def _write_user_dependencies : Flag<"--write-user-dependencies">, Alias<MMD>;
684 def _ : Joined<"--">, Alias<f>, Flags<[Unsupported]>;