blob: abee6602726892d415bae0d3ffb448ea1c0ca476 [file] [log] [blame]
Rui Ueyama411c63602015-05-28 19:09:301include "llvm/Option/OptParser.td"
2
3// link.exe accepts options starting with either a dash or a slash.
4
5// Flag that takes no arguments.
Nico Weber4b81e9f2019-05-07 14:15:356class F<string name> : Flag<["/", "-", "/?", "-?"], name>;
Rui Ueyama411c63602015-05-28 19:09:307
8// Flag that takes one argument after ":".
9class P<string name, string help> :
Nico Weber4b81e9f2019-05-07 14:15:3510 Joined<["/", "-", "/?", "-?"], name#":">, HelpText<help>;
Rui Ueyama411c63602015-05-28 19:09:3011
Martin Storsjö45c4c542020-10-03 22:29:4512// Same as P<> above, but without help texts, for private undocumented
13// options.
14class P_priv<string name> :
15 Joined<["/", "-", "/?", "-?"], name#":">;
16
Shoaib Meenai59bf3622017-10-24 21:17:1617// Boolean flag which can be suffixed by ":no". Using it unsuffixed turns the
18// flag on and using it suffixed by ":no" turns it off.
19multiclass B<string name, string help_on, string help_off> {
20 def "" : F<name>, HelpText<help_on>;
21 def _no : F<name#":no">, HelpText<help_off>;
Rui Ueyama411c63602015-05-28 19:09:3022}
23
Martin Storsjö7f0e6c32020-04-25 21:49:4424// Same as B<> above, but without help texts, for private undocumented
25// options.
26multiclass B_priv<string name> {
27 def "" : F<name>;
28 def _no : F<name#":no">;
29}
30
Rui Ueyama411c63602015-05-28 19:09:3031def align : P<"align", "Section alignment">;
Martin Storsjod2752aa2017-08-14 19:07:2732def aligncomm : P<"aligncomm", "Set common symbol alignment">;
Rui Ueyama411c63602015-05-28 19:09:3033def alternatename : P<"alternatename", "Define weak alias">;
34def base : P<"base", "Base address of the program">;
Nico Webercac2b332018-05-10 18:19:0235def color_diagnostics: Flag<["--"], "color-diagnostics">,
Nico Weberbaa2aa22020-11-17 17:15:4236 HelpText<"Alias for --color-diagnostics=always">;
37def no_color_diagnostics: Flag<["--"], "no-color-diagnostics">,
38 HelpText<"Alias for --color-diagnostics=never">;
Nico Webercac2b332018-05-10 18:19:0239def color_diagnostics_eq: Joined<["--"], "color-diagnostics=">,
Nico Weberbaa2aa22020-11-17 17:15:4240 HelpText<"Use colors in diagnostics (default: auto)">,
41 MetaVarName<"[auto,always,never]">;
Rui Ueyama411c63602015-05-28 19:09:3042def defaultlib : P<"defaultlib", "Add the library to the list of input files">;
43def delayload : P<"delayload", "Delay loaded DLL name">;
Peter Kastingc5fb05f2022-02-16 14:20:0344def diasdkdir : P<"diasdkdir", "Set the location of the DIA SDK">;
Haohai Wen2a631a82023-07-01 00:58:5645def dwodir : P<"dwodir",
46 "Directory to store .dwo files when LTO and debug fission are used">;
Rui Ueyama411c63602015-05-28 19:09:3047def entry : P<"entry", "Name of entry point symbol">;
Bob Haarmanac8f7fc2017-04-05 00:43:5448def errorlimit : P<"errorlimit",
49 "Maximum number of errors to emit before stopping (0 = no limit)">;
Martin Storsjöd1da6462022-07-18 20:43:0250def exclude_symbols : P<"exclude-symbols", "Exclude symbols from automatic export">,
51 MetaVarName<"<symbol[,symbol,...]>">;
Rui Ueyama411c63602015-05-28 19:09:3052def export : P<"export", "Export a function">;
53// No help text because /failifmismatch is not intended to be used by the user.
54def failifmismatch : P<"failifmismatch", "">;
Rui Ueyama74de6202019-05-24 12:42:3655def filealign : P<"filealign", "Section alignment in the output file">;
Alexandre Ganead307c4c2019-02-23 01:46:1856def functionpadmin : F<"functionpadmin">;
Nico Weberc7d8cc42019-09-14 23:41:4257def functionpadmin_opt : P<"functionpadmin",
58 "Prepares an image for hotpatching">;
Aleksei Nurmukhametov76947e02023-11-08 20:21:0559def dependentloadflag : F<"dependentloadflag">;
60def dependentloadflag_opt : P<"dependentloadflag",
61 "Sets the default load flags used to resolve the statically linked imports of a module">;
Reid Kleckneraf2f7da2018-02-06 01:58:2662def guard : P<"guard", "Control flow guard">;
Rui Ueyama411c63602015-05-28 19:09:3063def heap : P<"heap", "Size of the heap">;
Bob Haarmane90ac012017-12-28 07:02:1364def ignore : P<"ignore", "Specify warning codes to ignore">;
Rui Ueyama411c63602015-05-28 19:09:3065def implib : P<"implib", "Import library name">;
Tobias Hietaeb4eef92022-04-12 14:06:4666def noimplib : F<"noimplib">,
67 HelpText<"Don't output an import lib">;
Nico Weberc421fe52018-07-14 04:07:5168def lib : F<"lib">,
69 HelpText<"Act like lib.exe; must be first argument if present">;
Rui Ueyama411c63602015-05-28 19:09:3070def libpath : P<"libpath", "Additional library search path">;
Nico Webera0994cb2020-11-27 18:33:5571def linkrepro : Joined<["/", "-", "/?", "-?"], "linkrepro:">,
72 MetaVarName<"directory">,
73 HelpText<"Write repro.tar containing inputs and command to reproduce link">;
Nico Weberd48ea5d2019-09-13 13:13:5274def lldignoreenv : F<"lldignoreenv">,
75 HelpText<"Ignore environment variables like %LIB%">;
Nico Weberc7d8cc42019-09-14 23:41:4276def lldltocache : P<"lldltocache",
77 "Path to ThinLTO cached object file directory">;
78def lldltocachepolicy : P<"lldltocachepolicy",
79 "Pruning policy for the ThinLTO cache">;
Bob Haarman69b196d2017-02-08 18:36:4180def lldsavetemps : F<"lldsavetemps">,
Sam Clegg299b0e52021-01-18 19:39:2881 HelpText<"Save intermediate LTO compilation results">;
Rui Ueyama411c63602015-05-28 19:09:3082def machine : P<"machine", "Specify target platform">;
83def merge : P<"merge", "Combine sections">;
84def mllvm : P<"mllvm", "Options to pass to LLVM">;
85def nodefaultlib : P<"nodefaultlib", "Remove a default library">;
86def opt : P<"opt", "Control optimizations">;
Rui Ueyama57175aa2018-01-27 00:34:4687def order : P<"order", "Put functions in order">;
Rui Ueyama411c63602015-05-28 19:09:3088def out : P<"out", "Path to file to write output">;
Zachary Turnerf2282762018-03-23 19:57:2589def natvis : P<"natvis", "Path to natvis file to embed in the PDB">;
Rui Ueyama411c63602015-05-28 19:09:3090def pdb : P<"pdb", "PDB file path">;
Peter Collingbournec8f5c052018-04-20 22:11:2891def pdbaltpath : P<"pdbaltpath", "PDB file path to embed in the image">;
Nico Weberf964ca82021-10-30 15:22:5592def pdbpagesize : P<"pdbpagesize", "PDB page size">;
93def pdbstripped : P<"pdbstripped", "Stripped PDB file path">;
Eric Astora39b14f2020-04-07 20:16:2294def pdbstream : Joined<["/", "-", "/?", "-?"], "pdbstream:">,
95 MetaVarName<"<name>=<file>">,
96 HelpText<"Embed the contents of <file> in the PDB as named stream <name>">;
Rui Ueyama411c63602015-05-28 19:09:3097def section : P<"section", "Specify section attributes">;
98def stack : P<"stack", "Size of the stack">;
99def stub : P<"stub", "Specify DOS stub file">;
100def subsystem : P<"subsystem", "Specify subsystem">;
Zachary Turnerc8dd6cc2018-05-17 15:11:01101def timestamp : P<"timestamp", "Specify the PE header timestamp">;
Peter Kastingc5fb05f2022-02-16 14:20:03102def vctoolsdir : P<"vctoolsdir", "Set the location of the VC tools">;
103def vctoolsversion : P<"vctoolsversion",
104 "Specify which VC tools version to use">;
Rui Ueyama411c63602015-05-28 19:09:30105def version : P<"version", "Specify a version number in the PE header">;
Nico Weberc7d8cc42019-09-14 23:41:42106def wholearchive_file : P<"wholearchive",
107 "Include all object files from this library">;
Peter Kastingc5fb05f2022-02-16 14:20:03108def winsdkdir : P<"winsdkdir", "Set the location of the Windows SDK">;
109def winsdkversion : P<"winsdkversion", "Specify which SDK version to use">;
110def winsysroot : P<"winsysroot",
111 "Adds several subdirectories to the library search paths">;
Rui Ueyama411c63602015-05-28 19:09:30112
Nico Weber4b81e9f2019-05-07 14:15:35113def disallowlib : Joined<["/", "-", "/?", "-?"], "disallowlib:">,
114 Alias<nodefaultlib>;
Rui Ueyama411c63602015-05-28 19:09:30115
Nico Weber64fb85c2019-01-09 19:18:03116def manifest : F<"manifest">, HelpText<"Create .manifest file">;
117def manifest_colon : P<
118 "manifest",
119 "NO disables manifest output; EMBED[,ID=#] embeds manifest as resource in the image">;
Rui Ueyama411c63602015-05-28 19:09:30120def manifestuac : P<"manifestuac", "User access control">;
Nico Weber64fb85c2019-01-09 19:18:03121def manifestfile : P<"manifestfile", "Manifest output path, with /manifest">;
122def manifestdependency : P<
123 "manifestdependency",
124 "Attributes for <dependency> element in manifest file; implies /manifest">;
125def manifestinput : P<
126 "manifestinput",
127 "Additional manifest inputs; only valid with /manifest:embed">;
Rui Ueyama411c63602015-05-28 19:09:30128
129// We cannot use multiclass P because class name "incl" is different
130// from its command line option name. We do this because "include" is
131// a reserved keyword in tablegen.
Nico Weber4b81e9f2019-05-07 14:15:35132def incl : Joined<["/", "-", "/?", "-?"], "include:">,
Rui Ueyama411c63602015-05-28 19:09:30133 HelpText<"Force symbol to be added to symbol table as undefined one">;
134
135// "def" is also a keyword.
Nico Weber4b81e9f2019-05-07 14:15:35136def deffile : Joined<["/", "-", "/?", "-?"], "def:">,
Rui Ueyama411c63602015-05-28 19:09:30137 HelpText<"Use module-definition file">;
138
Reid Kleckner981576d2015-07-31 16:40:38139def debug : F<"debug">, HelpText<"Embed a symbol table in the image">;
Will Wilson3cb18342018-09-24 15:28:03140def debug_opt : P<"debug", "Embed a symbol table in the image with option">;
Saleem Abdulrasoola2cca7e2016-08-08 22:02:44141def debugtype : P<"debugtype", "Debug Info Options">;
Reid Kleckner981576d2015-07-31 16:40:38142def dll : F<"dll">, HelpText<"Create a DLL">;
Rui Ueyamaf95ed692019-11-13 04:53:15143def driver : F<"driver">, HelpText<"Generate a Windows NT Kernel Mode Driver">;
144def driver_wdm : F<"driver:wdm">,
145 HelpText<"Set IMAGE_FILE_UP_SYSTEM_ONLY bit in PE header">;
146def driver_uponly : F<"driver:uponly">,
147 HelpText<"Set IMAGE_DLL_CHARACTERISTICS_WDM_DRIVER bit in PE header">;
148def driver_wdm_uponly : F<"driver:wdm,uponly">;
149def driver_uponly_wdm : F<"driver:uponly,wdm">;
Nico Weber64fb85c2019-01-09 19:18:03150def nodefaultlib_all : F<"nodefaultlib">,
151 HelpText<"Remove all default libraries">;
152def noentry : F<"noentry">,
153 HelpText<"Don't add reference to DllMainCRTStartup; only valid with /dll">;
Rui Ueyama411c63602015-05-28 19:09:30154def profile : F<"profile">;
Nico Weber64fb85c2019-01-09 19:18:03155def repro : F<"Brepro">,
156 HelpText<"Use a hash of the executable as the PE header timestamp">;
Nico Webera0994cb2020-11-27 18:33:55157def reproduce : Joined<["/", "-", "/?", "-?"], "reproduce:">,
158 MetaVarName<"filename">,
159 HelpText<"Write tar file containing inputs and command to reproduce link">;
Nico Weberc0838af2019-04-25 14:02:26160def swaprun : P<"swaprun",
161 "Comma-separated list of 'cd' or 'net'">;
162def swaprun_cd : F<"swaprun:cd">, Alias<swaprun>, AliasArgs<["cd"]>,
163 HelpText<"Make loader run output binary from swap instead of from CD">;
164def swaprun_net : F<"swaprun:net">, Alias<swaprun>, AliasArgs<["net"]>,
165 HelpText<"Make loader run output binary from swap instead of from network">;
Rui Ueyama411c63602015-05-28 19:09:30166def verbose : F<"verbose">;
Nico Weberc7d8cc42019-09-14 23:41:42167def wholearchive_flag : F<"wholearchive">,
168 HelpText<"Include all object files from all libraries">;
Qfrost3f558532023-01-02 09:20:15169def release : F<"release">,
170 HelpText<"Set the Checksum in the header of an PE file">;
Rui Ueyama411c63602015-05-28 19:09:30171
172def force : F<"force">,
Nico Weberc7d8cc42019-09-14 23:41:42173 HelpText<"Allow undefined and multiply defined symbols">;
Rui Ueyama11ca38f2018-09-13 22:05:10174def force_unresolved : F<"force:unresolved">,
Rui Ueyama411c63602015-05-28 19:09:30175 HelpText<"Allow undefined symbols when creating executables">;
Rui Ueyama11ca38f2018-09-13 22:05:10176def force_multiple : F<"force:multiple">,
177 HelpText<"Allow multiply defined symbols when creating executables">;
Nico Weber81862f82019-05-02 21:21:55178def force_multipleres : F<"force:multipleres">,
179 HelpText<"Allow multiply defined resources when creating executables">;
Nico Weber75196b92022-04-11 15:01:34180defm WX : B<"WX", "Treat warnings as errors",
181 "Don't treat warnings as errors (default)">;
Rui Ueyama411c63602015-05-28 19:09:30182
Shoaib Meenai59bf3622017-10-24 21:17:16183defm allowbind : B<"allowbind", "Enable DLL binding (default)",
184 "Disable DLL binding">;
185defm allowisolation : B<"allowisolation", "Enable DLL isolation (default)",
186 "Disable DLL isolation">;
Saleem Abdulrasool671029d2017-04-06 23:07:53187defm appcontainer : B<"appcontainer",
Shoaib Meenai59bf3622017-10-24 21:17:16188 "Image can only be run in an app container",
189 "Image can run outside an app container (default)">;
Rui Ueyamaa2923b22020-03-13 10:41:18190defm cetcompat : B<"cetcompat", "Mark executable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack",
191 "Don't mark executable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack (default)">;
Shoaib Meenai59bf3622017-10-24 21:17:16192defm dynamicbase : B<"dynamicbase", "Enable ASLR (default unless /fixed)",
193 "Disable ASLR (default when /fixed)">;
194defm fixed : B<"fixed", "Disable base relocations",
195 "Enable base relocations (default)">;
196defm highentropyva : B<"highentropyva",
197 "Enable 64-bit ASLR (default on 64-bit)",
198 "Disable 64-bit ASLR">;
Bob Haarman5ec44852018-01-31 23:44:00199defm incremental : B<"incremental",
200 "Keep original import library if contents are unchanged",
Nico Weberd657c252018-05-31 13:43:02201 "Overwrite import library even if contents are unchanged">;
Alvin Wong8fa0cfe2023-04-23 15:58:24202defm inferasanlibs : B<"inferasanlibs",
203 "Unused, generates a warning",
204 "No effect (default)">;
Nico Weberd657c252018-05-31 13:43:02205defm integritycheck : B<"integritycheck",
206 "Set FORCE_INTEGRITY bit in PE header",
207 "No effect (default)">;
Shoaib Meenai59bf3622017-10-24 21:17:16208defm largeaddressaware : B<"largeaddressaware",
209 "Enable large addresses (default on 64-bit)",
210 "Disable large addresses (default on 32-bit)">;
211defm nxcompat : B<"nxcompat", "Enable data execution prevention (default)",
212 "Disable data execution provention">;
213defm safeseh : B<"safeseh",
214 "Produce an image with Safe Exception Handler (only for x86)",
215 "Don't produce an image with Safe Exception Handler">;
216defm tsaware : B<"tsaware",
217 "Create Terminal Server aware executable (default)",
218 "Create non-Terminal Server aware executable">;
Rui Ueyama411c63602015-05-28 19:09:30219
220def help : F<"help">;
Nico Weber4b81e9f2019-05-07 14:15:35221
222// /?? and -?? must be before /? and -? to not confuse lib/Options.
223def help_q : Flag<["/??", "-??", "/?", "-?"], "">, Alias<help>;
Rui Ueyama411c63602015-05-28 19:09:30224
Rui Ueyama96401732015-09-21 23:43:31225// LLD extensions
Martin Storsjö7f0e6c32020-04-25 21:49:44226defm auto_import : B_priv<"auto-import">;
227defm runtime_pseudo_reloc : B_priv<"runtime-pseudo-reloc">;
Bob Haarman7dc5e7a02019-09-03 20:32:16228def end_lib : F<"end-lib">,
Nico Webera0994cb2020-11-27 18:33:55229 HelpText<"End group of objects treated as if they were in a library">;
Martin Storsjo272d8c12019-02-19 21:57:44230def exclude_all_symbols : F<"exclude-all-symbols">;
Martin Storsjo7f71acd2017-10-12 05:37:13231def export_all_symbols : F<"export-all-symbols">;
Nico Weber020d92c2019-03-11 23:02:18232defm demangle : B<"demangle",
233 "Demangle symbols in output (default)",
234 "Do not demangle symbols in output">;
Martin Storsjoc02f6bf2019-06-08 18:26:18235def include_optional : Joined<["/", "-", "/?", "-?"], "includeoptional:">,
236 HelpText<"Add symbol as undefined, but allow it to remain undefined">;
Martin Storsjo53518912018-03-14 20:17:16237def kill_at : F<"kill-at">;
Martin Storsjöa67ae8c2023-10-20 20:44:44238defm lld_allow_duplicate_weak : B_priv<"lld-allow-duplicate-weak">;
Matheus Izvekov3923e612023-10-02 20:54:43239def lldemit : P<"lldemit", "Specify output type">;
Martin Storsjo31fe4cd2017-09-13 19:29:39240def lldmingw : F<"lldmingw">;
Martin Storsjö745eb022020-07-27 20:44:41241def noseh : F<"noseh">;
Martin Storsjö45c4c542020-10-03 22:29:45242def osversion : P_priv<"osversion">;
Nico Weber4b81e9f2019-05-07 14:15:35243def output_def : Joined<["/", "-", "/?", "-?"], "output-def:">;
Takuto Ikutad8559282018-07-19 04:56:22244def pdb_source_path : P<"pdbsourcepath",
Nico Weberc7d8cc42019-09-14 23:41:42245 "Base path used to make relative source file path absolute in PDB">;
Nico Webera05cbb8b2017-09-05 23:46:45246def rsp_quoting : Joined<["--"], "rsp-quoting=">,
247 HelpText<"Quoting style for response files, 'windows' (default) or 'posix'">;
Bob Haarman7dc5e7a02019-09-03 20:32:16248def start_lib : F<"start-lib">,
Nico Webera0994cb2020-11-27 18:33:55249 HelpText<"Start group of objects treated as if they were in a library">;
Martin Storsjöce211c52021-06-17 18:51:37250defm stdcall_fixup : B_priv<"stdcall-fixup">;
Bob Haarman63efb282019-07-11 18:03:14251def thinlto_emit_imports_files :
252 F<"thinlto-emit-imports-files">,
253 HelpText<"Emit .imports files with -thinlto-index-only">;
254def thinlto_index_only :
255 F<"thinlto-index-only">,
256 HelpText<"Instead of linking, emit ThinLTO index files">;
257def thinlto_index_only_arg : P<
258 "thinlto-index-only",
259 "-thinlto-index-only and also write native module names to file">;
Bob Haarman5011b832019-07-11 18:48:58260def thinlto_object_suffix_replace : P<
261 "thinlto-object-suffix-replace",
262 "'old;new' replace old suffix with new suffix in ThinLTO index">;
263def thinlto_prefix_replace: P<
264 "thinlto-prefix-replace",
265 "'old;new' replace old prefix with new prefix in ThinLTO outputs">;
Bob Haarman5375b942019-08-21 18:24:59266def lto_obj_path : P<
267 "lto-obj-path",
268 "output native object for merged LTO unit to this path">;
Yolanda Chen4f9c61e2021-03-25 02:55:18269def lto_cs_profile_generate: F<"lto-cs-profile-generate">,
270 HelpText<"Perform context sensitive PGO instrumentation">;
271def lto_cs_profile_file : P<"lto-cs-profile-file",
272 "Context sensitive profile file path">;
Yolanda Chen8fa16cc2021-08-11 16:45:55273defm lto_pgo_warn_mismatch: B<
274 "lto-pgo-warn-mismatch",
275 "turn on warnings about profile cfg mismatch (default)>",
276 "turn off warnings about profile cfg mismatch">;
Rui Ueyamaa4cf97b2017-10-23 14:57:53277def dash_dash_version : Flag<["--"], "version">,
Nico Weber77fb45e2020-12-22 20:51:20278 HelpText<"Display the version number and exit">;
Fangrui Songeb4663d2020-03-17 19:40:19279def threads
280 : P<"threads", "Number of threads. '1' disables multi-threading. By "
281 "default all available hardware threads are used">;
Zequan Wu763671f2020-07-21 20:46:11282def call_graph_ordering_file: P<
Tobias Hieta2af43852022-04-12 11:59:45283 "call-graph-ordering-file",
Zequan Wu763671f2020-07-21 20:46:11284 "Layout sections to optimize the given callgraph">;
285defm call_graph_profile_sort: B<
286 "call-graph-profile-sort",
287 "Reorder sections with call graph profile (default)",
288 "Do not reorder sections with call graph profile">;
289def print_symbol_order: P<
290 "print-symbol-order",
291 "Print a symbol order specified by /call-graph-ordering-file and "
292 "/call-graph-profile-sort into the specified file">;
Martin Storsjö3785a412020-10-06 10:54:49293def wrap : P_priv<"wrap">;
Rui Ueyama96401732015-09-21 23:43:31294
Alex Brachetfd9962e2022-07-11 21:31:01295def vfsoverlay : P<"vfsoverlay", "Path to a vfsoverlay yaml file to optionally look for /defaultlib's in">;
296
Alexandre Ganea356139b2023-10-06 02:33:58297def time_trace_eq: Joined<["--"], "time-trace=">, MetaVarName<"<file>">,
298 HelpText<"Record time trace to <file>">;
299def : Flag<["--"], "time-trace">, Alias<time_trace_eq>,
300 HelpText<"Record time trace to file next to output">;
301
302def time_trace_granularity_eq: Joined<["--"], "time-trace-granularity=">,
303 HelpText<"Minimum time granularity (in microseconds) traced by time profiler">;
304
Peter Collingbournebe549552015-06-26 18:58:24305// Flags for debugging
Hans Wennborg1818e652016-12-09 20:54:44306def lldmap : F<"lldmap">;
Nico Weber66dc44f2021-08-27 02:01:00307def lldmap_file : P_priv<"lldmap">;
Sylvain Audib91905a2020-03-23 21:06:48308def map : F<"map">;
Nico Weber66dc44f2021-08-27 02:01:00309def map_file : P_priv<"map">;
Pengxuan Zheng7b317562022-09-20 00:21:21310def map_info : P<"mapinfo", "Include the specified information in a map file">;
Tobias Hieta33f93422023-07-12 07:22:06311def print_search_paths : F<"print-search-paths">;
Zachary Turner727f1532018-01-17 19:16:26312def show_timing : F<"time">;
Alexandre Ganea3e60ee92019-03-14 18:45:08313def summary : F<"summary">;
Rui Ueyama411c63602015-05-28 19:09:30314
315//==============================================================================
316// The flags below do nothing. They are defined only for link.exe compatibility.
317//==============================================================================
318
Rui Ueyama411c63602015-05-28 19:09:30319def ignoreidl : F<"ignoreidl">;
Nico Weber34ac7a72021-08-27 02:03:26320def ltcg : F<"ltcg">;
oberrich7f9c2642022-10-03 13:03:14321def assemblydebug : F<"assemblydebug">;
Rui Ueyama411c63602015-05-28 19:09:30322def nologo : F<"nologo">;
Rui Ueyama432383172015-07-29 21:01:15323def throwingnew : F<"throwingnew">;
Rui Ueyama3c4737d2015-08-11 16:46:08324def editandcontinue : F<"editandcontinue">;
Reid Kleckner9cd77ce2016-03-25 18:09:29325def fastfail : F<"fastfail">;
Pengxuan Zhengb5e49cd2022-06-21 01:44:32326def kernel : F<"kernel">;
Pengxuan Zhengdec16142022-06-20 22:14:44327def pdbcompress : F<"pdbcompress">;
oberrich7f9c2642022-10-03 13:03:14328def emitpogophaseinfo : F<"emitpogophaseinfo">;
Rui Ueyama411c63602015-05-28 19:09:30329
Nico Weber66dc44f2021-08-27 02:01:00330def delay : P_priv<"delay">;
331def errorreport : P_priv<"errorreport">;
332def idlout : P_priv<"idlout">;
Nico Weber34ac7a72021-08-27 02:03:26333def ilk : P_priv<"ilk">;
334def ltcg_opt : P_priv<"ltcg">;
oberrich7f9c2642022-10-03 13:03:14335def assemblydebug_opt : P_priv<"assemblydebug">;
Nico Weber34ac7a72021-08-27 02:03:26336def ltcgout : P_priv<"ltcgout">;
Nico Weber66dc44f2021-08-27 02:01:00337def maxilksize : P_priv<"maxilksize">;
338def tlbid : P_priv<"tlbid">;
339def tlbout : P_priv<"tlbout">;
340def verbose_all : P_priv<"verbose">;
341def guardsym : P_priv<"guardsym">;