xref: /freebsd/contrib/llvm-project/lld/COFF/Options.td (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
10b57cec5SDimitry Andricinclude "llvm/Option/OptParser.td"
20b57cec5SDimitry Andric
30b57cec5SDimitry Andric// link.exe accepts options starting with either a dash or a slash.
40b57cec5SDimitry Andric
50b57cec5SDimitry Andric// Flag that takes no arguments.
60b57cec5SDimitry Andricclass F<string name> : Flag<["/", "-", "/?", "-?"], name>;
70b57cec5SDimitry Andric
80b57cec5SDimitry Andric// Flag that takes one argument after ":".
90b57cec5SDimitry Andricclass P<string name, string help> :
100b57cec5SDimitry Andric      Joined<["/", "-", "/?", "-?"], name#":">, HelpText<help>;
110b57cec5SDimitry Andric
12e8d8bef9SDimitry Andric// Same as P<> above, but without help texts, for private undocumented
13e8d8bef9SDimitry Andric// options.
14e8d8bef9SDimitry Andricclass P_priv<string name> :
15e8d8bef9SDimitry Andric      Joined<["/", "-", "/?", "-?"], name#":">;
16e8d8bef9SDimitry Andric
170b57cec5SDimitry Andric// Boolean flag which can be suffixed by ":no". Using it unsuffixed turns the
180b57cec5SDimitry Andric// flag on and using it suffixed by ":no" turns it off.
190b57cec5SDimitry Andricmulticlass B<string name, string help_on, string help_off> {
200b57cec5SDimitry Andric  def "" : F<name>, HelpText<help_on>;
210b57cec5SDimitry Andric  def _no : F<name#":no">, HelpText<help_off>;
220b57cec5SDimitry Andric}
230b57cec5SDimitry Andric
245ffd83dbSDimitry Andric// Same as B<> above, but without help texts, for private undocumented
255ffd83dbSDimitry Andric// options.
265ffd83dbSDimitry Andricmulticlass B_priv<string name> {
275ffd83dbSDimitry Andric  def "" : F<name>;
285ffd83dbSDimitry Andric  def _no : F<name#":no">;
295ffd83dbSDimitry Andric}
305ffd83dbSDimitry Andric
310b57cec5SDimitry Andricdef align   : P<"align", "Section alignment">;
320b57cec5SDimitry Andricdef aligncomm : P<"aligncomm", "Set common symbol alignment">;
330b57cec5SDimitry Andricdef alternatename : P<"alternatename", "Define weak alias">;
340b57cec5SDimitry Andricdef base    : P<"base", "Base address of the program">;
350b57cec5SDimitry Andricdef color_diagnostics: Flag<["--"], "color-diagnostics">,
36e8d8bef9SDimitry Andric    HelpText<"Alias for --color-diagnostics=always">;
37e8d8bef9SDimitry Andricdef no_color_diagnostics: Flag<["--"], "no-color-diagnostics">,
38e8d8bef9SDimitry Andric    HelpText<"Alias for --color-diagnostics=never">;
390b57cec5SDimitry Andricdef color_diagnostics_eq: Joined<["--"], "color-diagnostics=">,
40e8d8bef9SDimitry Andric    HelpText<"Use colors in diagnostics (default: auto)">,
41e8d8bef9SDimitry Andric    MetaVarName<"[auto,always,never]">;
420b57cec5SDimitry Andricdef defaultlib : P<"defaultlib", "Add the library to the list of input files">;
430b57cec5SDimitry Andricdef delayload : P<"delayload", "Delay loaded DLL name">;
44*81ad6265SDimitry Andricdef diasdkdir : P<"diasdkdir", "Set the location of the DIA SDK">;
450b57cec5SDimitry Andricdef entry   : P<"entry", "Name of entry point symbol">;
460b57cec5SDimitry Andricdef errorlimit : P<"errorlimit",
470b57cec5SDimitry Andric    "Maximum number of errors to emit before stopping (0 = no limit)">;
480b57cec5SDimitry Andricdef export  : P<"export", "Export a function">;
490b57cec5SDimitry Andric// No help text because /failifmismatch is not intended to be used by the user.
500b57cec5SDimitry Andricdef failifmismatch : P<"failifmismatch", "">;
510b57cec5SDimitry Andricdef filealign : P<"filealign", "Section alignment in the output file">;
520b57cec5SDimitry Andricdef functionpadmin : F<"functionpadmin">;
5385868e8aSDimitry Andricdef functionpadmin_opt : P<"functionpadmin",
5485868e8aSDimitry Andric    "Prepares an image for hotpatching">;
550b57cec5SDimitry Andricdef guard   : P<"guard", "Control flow guard">;
560b57cec5SDimitry Andricdef heap    : P<"heap", "Size of the heap">;
570b57cec5SDimitry Andricdef ignore : P<"ignore", "Specify warning codes to ignore">;
580b57cec5SDimitry Andricdef implib  : P<"implib", "Import library name">;
59*81ad6265SDimitry Andricdef noimplib : F<"noimplib">,
60*81ad6265SDimitry Andric    HelpText<"Don't output an import lib">;
610b57cec5SDimitry Andricdef lib : F<"lib">,
620b57cec5SDimitry Andric    HelpText<"Act like lib.exe; must be first argument if present">;
630b57cec5SDimitry Andricdef libpath : P<"libpath", "Additional library search path">;
64e8d8bef9SDimitry Andricdef linkrepro : Joined<["/", "-", "/?", "-?"], "linkrepro:">,
65e8d8bef9SDimitry Andric    MetaVarName<"directory">,
66e8d8bef9SDimitry Andric    HelpText<"Write repro.tar containing inputs and command to reproduce link">;
6785868e8aSDimitry Andricdef lldignoreenv : F<"lldignoreenv">,
6885868e8aSDimitry Andric    HelpText<"Ignore environment variables like %LIB%">;
6985868e8aSDimitry Andricdef lldltocache : P<"lldltocache",
7085868e8aSDimitry Andric    "Path to ThinLTO cached object file directory">;
7185868e8aSDimitry Andricdef lldltocachepolicy : P<"lldltocachepolicy",
7285868e8aSDimitry Andric    "Pruning policy for the ThinLTO cache">;
730b57cec5SDimitry Andricdef lldsavetemps : F<"lldsavetemps">,
74e8d8bef9SDimitry Andric    HelpText<"Save intermediate LTO compilation results">;
750b57cec5SDimitry Andricdef machine : P<"machine", "Specify target platform">;
760b57cec5SDimitry Andricdef merge   : P<"merge", "Combine sections">;
770b57cec5SDimitry Andricdef mllvm   : P<"mllvm", "Options to pass to LLVM">;
780b57cec5SDimitry Andricdef nodefaultlib : P<"nodefaultlib", "Remove a default library">;
790b57cec5SDimitry Andricdef opt     : P<"opt", "Control optimizations">;
800b57cec5SDimitry Andricdef order   : P<"order", "Put functions in order">;
810b57cec5SDimitry Andricdef out     : P<"out", "Path to file to write output">;
820b57cec5SDimitry Andricdef natvis : P<"natvis", "Path to natvis file to embed in the PDB">;
830b57cec5SDimitry Andricdef pdb : P<"pdb", "PDB file path">;
840b57cec5SDimitry Andricdef pdbaltpath : P<"pdbaltpath", "PDB file path to embed in the image">;
85349cc55cSDimitry Andricdef pdbpagesize : P<"pdbpagesize", "PDB page size">;
86349cc55cSDimitry Andricdef pdbstripped : P<"pdbstripped", "Stripped PDB file path">;
875ffd83dbSDimitry Andricdef pdbstream : Joined<["/", "-", "/?", "-?"], "pdbstream:">,
885ffd83dbSDimitry Andric    MetaVarName<"<name>=<file>">,
895ffd83dbSDimitry Andric    HelpText<"Embed the contents of <file> in the PDB as named stream <name>">;
900b57cec5SDimitry Andricdef section : P<"section", "Specify section attributes">;
910b57cec5SDimitry Andricdef stack   : P<"stack", "Size of the stack">;
920b57cec5SDimitry Andricdef stub    : P<"stub", "Specify DOS stub file">;
930b57cec5SDimitry Andricdef subsystem : P<"subsystem", "Specify subsystem">;
940b57cec5SDimitry Andricdef timestamp : P<"timestamp", "Specify the PE header timestamp">;
95*81ad6265SDimitry Andricdef vctoolsdir : P<"vctoolsdir", "Set the location of the VC tools">;
96*81ad6265SDimitry Andricdef vctoolsversion : P<"vctoolsversion",
97*81ad6265SDimitry Andric    "Specify which VC tools version to use">;
980b57cec5SDimitry Andricdef version : P<"version", "Specify a version number in the PE header">;
9985868e8aSDimitry Andricdef wholearchive_file : P<"wholearchive",
10085868e8aSDimitry Andric    "Include all object files from this library">;
101*81ad6265SDimitry Andricdef winsdkdir : P<"winsdkdir", "Set the location of the Windows SDK">;
102*81ad6265SDimitry Andricdef winsdkversion : P<"winsdkversion", "Specify which SDK version to use">;
103*81ad6265SDimitry Andricdef winsysroot : P<"winsysroot",
104*81ad6265SDimitry Andric    "Adds several subdirectories to the library search paths">;
1050b57cec5SDimitry Andric
1060b57cec5SDimitry Andricdef disallowlib : Joined<["/", "-", "/?", "-?"], "disallowlib:">,
1070b57cec5SDimitry Andric    Alias<nodefaultlib>;
1080b57cec5SDimitry Andric
1090b57cec5SDimitry Andricdef manifest : F<"manifest">, HelpText<"Create .manifest file">;
1100b57cec5SDimitry Andricdef manifest_colon : P<
1110b57cec5SDimitry Andric    "manifest",
1120b57cec5SDimitry Andric    "NO disables manifest output; EMBED[,ID=#] embeds manifest as resource in the image">;
1130b57cec5SDimitry Andricdef manifestuac : P<"manifestuac", "User access control">;
1140b57cec5SDimitry Andricdef manifestfile : P<"manifestfile", "Manifest output path, with /manifest">;
1150b57cec5SDimitry Andricdef manifestdependency : P<
1160b57cec5SDimitry Andric    "manifestdependency",
1170b57cec5SDimitry Andric    "Attributes for <dependency> element in manifest file; implies /manifest">;
1180b57cec5SDimitry Andricdef manifestinput : P<
1190b57cec5SDimitry Andric    "manifestinput",
1200b57cec5SDimitry Andric    "Additional manifest inputs; only valid with /manifest:embed">;
1210b57cec5SDimitry Andric
1220b57cec5SDimitry Andric// We cannot use multiclass P because class name "incl" is different
1230b57cec5SDimitry Andric// from its command line option name. We do this because "include" is
1240b57cec5SDimitry Andric// a reserved keyword in tablegen.
1250b57cec5SDimitry Andricdef incl : Joined<["/", "-", "/?", "-?"], "include:">,
1260b57cec5SDimitry Andric    HelpText<"Force symbol to be added to symbol table as undefined one">;
1270b57cec5SDimitry Andric
1280b57cec5SDimitry Andric// "def" is also a keyword.
1290b57cec5SDimitry Andricdef deffile : Joined<["/", "-", "/?", "-?"], "def:">,
1300b57cec5SDimitry Andric    HelpText<"Use module-definition file">;
1310b57cec5SDimitry Andric
1320b57cec5SDimitry Andricdef debug : F<"debug">, HelpText<"Embed a symbol table in the image">;
1330b57cec5SDimitry Andricdef debug_opt : P<"debug", "Embed a symbol table in the image with option">;
1340b57cec5SDimitry Andricdef debugtype : P<"debugtype", "Debug Info Options">;
1350b57cec5SDimitry Andricdef dll : F<"dll">, HelpText<"Create a DLL">;
136480093f4SDimitry Andricdef driver : F<"driver">, HelpText<"Generate a Windows NT Kernel Mode Driver">;
137480093f4SDimitry Andricdef driver_wdm : F<"driver:wdm">,
138480093f4SDimitry Andric    HelpText<"Set IMAGE_FILE_UP_SYSTEM_ONLY bit in PE header">;
139480093f4SDimitry Andricdef driver_uponly : F<"driver:uponly">,
140480093f4SDimitry Andric    HelpText<"Set IMAGE_DLL_CHARACTERISTICS_WDM_DRIVER bit in PE header">;
141480093f4SDimitry Andricdef driver_wdm_uponly : F<"driver:wdm,uponly">;
142480093f4SDimitry Andricdef driver_uponly_wdm : F<"driver:uponly,wdm">;
1430b57cec5SDimitry Andricdef nodefaultlib_all : F<"nodefaultlib">,
1440b57cec5SDimitry Andric    HelpText<"Remove all default libraries">;
1450b57cec5SDimitry Andricdef noentry : F<"noentry">,
1460b57cec5SDimitry Andric    HelpText<"Don't add reference to DllMainCRTStartup; only valid with /dll">;
1470b57cec5SDimitry Andricdef profile : F<"profile">;
1480b57cec5SDimitry Andricdef repro : F<"Brepro">,
1490b57cec5SDimitry Andric    HelpText<"Use a hash of the executable as the PE header timestamp">;
150e8d8bef9SDimitry Andricdef reproduce : Joined<["/", "-", "/?", "-?"], "reproduce:">,
151e8d8bef9SDimitry Andric    MetaVarName<"filename">,
152e8d8bef9SDimitry Andric    HelpText<"Write tar file containing inputs and command to reproduce link">;
1530b57cec5SDimitry Andricdef swaprun : P<"swaprun",
1540b57cec5SDimitry Andric  "Comma-separated list of 'cd' or 'net'">;
1550b57cec5SDimitry Andricdef swaprun_cd : F<"swaprun:cd">, Alias<swaprun>, AliasArgs<["cd"]>,
1560b57cec5SDimitry Andric  HelpText<"Make loader run output binary from swap instead of from CD">;
1570b57cec5SDimitry Andricdef swaprun_net : F<"swaprun:net">, Alias<swaprun>, AliasArgs<["net"]>,
1580b57cec5SDimitry Andric  HelpText<"Make loader run output binary from swap instead of from network">;
1590b57cec5SDimitry Andricdef verbose : F<"verbose">;
16085868e8aSDimitry Andricdef wholearchive_flag : F<"wholearchive">,
16185868e8aSDimitry Andric    HelpText<"Include all object files from all libraries">;
1620b57cec5SDimitry Andric
1630b57cec5SDimitry Andricdef force : F<"force">,
16485868e8aSDimitry Andric    HelpText<"Allow undefined and multiply defined symbols">;
1650b57cec5SDimitry Andricdef force_unresolved : F<"force:unresolved">,
1660b57cec5SDimitry Andric    HelpText<"Allow undefined symbols when creating executables">;
1670b57cec5SDimitry Andricdef force_multiple : F<"force:multiple">,
1680b57cec5SDimitry Andric    HelpText<"Allow multiply defined symbols when creating executables">;
1690b57cec5SDimitry Andricdef force_multipleres : F<"force:multipleres">,
1700b57cec5SDimitry Andric    HelpText<"Allow multiply defined resources when creating executables">;
171*81ad6265SDimitry Andricdefm WX : B<"WX", "Treat warnings as errors",
172*81ad6265SDimitry Andric                  "Don't treat warnings as errors (default)">;
1730b57cec5SDimitry Andric
1740b57cec5SDimitry Andricdefm allowbind : B<"allowbind", "Enable DLL binding (default)",
1750b57cec5SDimitry Andric                   "Disable DLL binding">;
1760b57cec5SDimitry Andricdefm allowisolation : B<"allowisolation", "Enable DLL isolation (default)",
1770b57cec5SDimitry Andric                        "Disable DLL isolation">;
1780b57cec5SDimitry Andricdefm appcontainer : B<"appcontainer",
1790b57cec5SDimitry Andric                      "Image can only be run in an app container",
1800b57cec5SDimitry Andric                      "Image can run outside an app container (default)">;
1815ffd83dbSDimitry Andricdefm cetcompat : B<"cetcompat", "Mark executable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack",
1825ffd83dbSDimitry Andric                   "Don't mark executable image as compatible with Control-flow Enforcement Technology (CET) Shadow Stack (default)">;
1830b57cec5SDimitry Andricdefm dynamicbase : B<"dynamicbase", "Enable ASLR (default unless /fixed)",
1840b57cec5SDimitry Andric                     "Disable ASLR (default when /fixed)">;
1850b57cec5SDimitry Andricdefm fixed : B<"fixed", "Disable base relocations",
1860b57cec5SDimitry Andric               "Enable base relocations (default)">;
1870b57cec5SDimitry Andricdefm highentropyva : B<"highentropyva",
1880b57cec5SDimitry Andric                       "Enable 64-bit ASLR (default on 64-bit)",
1890b57cec5SDimitry Andric                       "Disable 64-bit ASLR">;
1900b57cec5SDimitry Andricdefm incremental : B<"incremental",
1910b57cec5SDimitry Andric                     "Keep original import library if contents are unchanged",
1920b57cec5SDimitry Andric                     "Overwrite import library even if contents are unchanged">;
1930b57cec5SDimitry Andricdefm integritycheck : B<"integritycheck",
1940b57cec5SDimitry Andric                        "Set FORCE_INTEGRITY bit in PE header",
1950b57cec5SDimitry Andric                        "No effect (default)">;
1960b57cec5SDimitry Andricdefm largeaddressaware : B<"largeaddressaware",
1970b57cec5SDimitry Andric                           "Enable large addresses (default on 64-bit)",
1980b57cec5SDimitry Andric                           "Disable large addresses (default on 32-bit)">;
1990b57cec5SDimitry Andricdefm nxcompat : B<"nxcompat", "Enable data execution prevention (default)",
2000b57cec5SDimitry Andric                  "Disable data execution provention">;
2010b57cec5SDimitry Andricdefm safeseh : B<"safeseh",
2020b57cec5SDimitry Andric                 "Produce an image with Safe Exception Handler (only for x86)",
2030b57cec5SDimitry Andric                 "Don't produce an image with Safe Exception Handler">;
2040b57cec5SDimitry Andricdefm tsaware  : B<"tsaware",
2050b57cec5SDimitry Andric                  "Create Terminal Server aware executable (default)",
2060b57cec5SDimitry Andric                  "Create non-Terminal Server aware executable">;
2070b57cec5SDimitry Andric
2080b57cec5SDimitry Andricdef help : F<"help">;
2090b57cec5SDimitry Andric
2100b57cec5SDimitry Andric// /?? and -?? must be before /? and -? to not confuse lib/Options.
2110b57cec5SDimitry Andricdef help_q : Flag<["/??", "-??", "/?", "-?"], "">, Alias<help>;
2120b57cec5SDimitry Andric
2130b57cec5SDimitry Andric// LLD extensions
2145ffd83dbSDimitry Andricdefm auto_import : B_priv<"auto-import">;
2155ffd83dbSDimitry Andricdefm runtime_pseudo_reloc : B_priv<"runtime-pseudo-reloc">;
21685868e8aSDimitry Andricdef end_lib : F<"end-lib">,
217e8d8bef9SDimitry Andric  HelpText<"End group of objects treated as if they were in a library">;
2180b57cec5SDimitry Andricdef exclude_all_symbols : F<"exclude-all-symbols">;
2190b57cec5SDimitry Andricdef export_all_symbols : F<"export-all-symbols">;
2200b57cec5SDimitry Andricdefm demangle : B<"demangle",
2210b57cec5SDimitry Andric    "Demangle symbols in output (default)",
2220b57cec5SDimitry Andric    "Do not demangle symbols in output">;
2230b57cec5SDimitry Andricdef include_optional : Joined<["/", "-", "/?", "-?"], "includeoptional:">,
2240b57cec5SDimitry Andric    HelpText<"Add symbol as undefined, but allow it to remain undefined">;
2250b57cec5SDimitry Andricdef kill_at : F<"kill-at">;
2260b57cec5SDimitry Andricdef lldmingw : F<"lldmingw">;
227979e22ffSDimitry Andricdef noseh : F<"noseh">;
228e8d8bef9SDimitry Andricdef osversion : P_priv<"osversion">;
2290b57cec5SDimitry Andricdef output_def : Joined<["/", "-", "/?", "-?"], "output-def:">;
2300b57cec5SDimitry Andricdef pdb_source_path : P<"pdbsourcepath",
2310b57cec5SDimitry Andric    "Base path used to make relative source file path absolute in PDB">;
2320b57cec5SDimitry Andricdef rsp_quoting : Joined<["--"], "rsp-quoting=">,
2330b57cec5SDimitry Andric  HelpText<"Quoting style for response files, 'windows' (default) or 'posix'">;
23485868e8aSDimitry Andricdef start_lib : F<"start-lib">,
235e8d8bef9SDimitry Andric  HelpText<"Start group of objects treated as if they were in a library">;
236fe6060f1SDimitry Andricdefm stdcall_fixup : B_priv<"stdcall-fixup">;
2370b57cec5SDimitry Andricdef thinlto_emit_imports_files :
2380b57cec5SDimitry Andric    F<"thinlto-emit-imports-files">,
2390b57cec5SDimitry Andric    HelpText<"Emit .imports files with -thinlto-index-only">;
2400b57cec5SDimitry Andricdef thinlto_index_only :
2410b57cec5SDimitry Andric    F<"thinlto-index-only">,
2420b57cec5SDimitry Andric    HelpText<"Instead of linking, emit ThinLTO index files">;
2430b57cec5SDimitry Andricdef thinlto_index_only_arg : P<
2440b57cec5SDimitry Andric    "thinlto-index-only",
2450b57cec5SDimitry Andric    "-thinlto-index-only and also write native module names to file">;
2460b57cec5SDimitry Andricdef thinlto_object_suffix_replace : P<
2470b57cec5SDimitry Andric    "thinlto-object-suffix-replace",
2480b57cec5SDimitry Andric    "'old;new' replace old suffix with new suffix in ThinLTO index">;
2490b57cec5SDimitry Andricdef thinlto_prefix_replace: P<
2500b57cec5SDimitry Andric    "thinlto-prefix-replace",
2510b57cec5SDimitry Andric    "'old;new' replace old prefix with new prefix in ThinLTO outputs">;
25285868e8aSDimitry Andricdef lto_obj_path : P<
25385868e8aSDimitry Andric    "lto-obj-path",
25485868e8aSDimitry Andric    "output native object for merged LTO unit to this path">;
255fe6060f1SDimitry Andricdef lto_cs_profile_generate: F<"lto-cs-profile-generate">,
256fe6060f1SDimitry Andric    HelpText<"Perform context sensitive PGO instrumentation">;
257fe6060f1SDimitry Andricdef lto_cs_profile_file : P<"lto-cs-profile-file",
258fe6060f1SDimitry Andric    "Context sensitive profile file path">;
259349cc55cSDimitry Andricdefm lto_pgo_warn_mismatch: B<
260349cc55cSDimitry Andric     "lto-pgo-warn-mismatch",
261349cc55cSDimitry Andric     "turn on warnings about profile cfg mismatch (default)>",
262349cc55cSDimitry Andric     "turn off warnings about profile cfg mismatch">;
2630b57cec5SDimitry Andricdef dash_dash_version : Flag<["--"], "version">,
264e8d8bef9SDimitry Andric  HelpText<"Display the version number and exit">;
2655ffd83dbSDimitry Andricdef threads
2665ffd83dbSDimitry Andric    : P<"threads", "Number of threads. '1' disables multi-threading. By "
2675ffd83dbSDimitry Andric                   "default all available hardware threads are used">;
268e8d8bef9SDimitry Andricdef call_graph_ordering_file: P<
269e8d8bef9SDimitry Andric    "call-graph-ordering-file",
270e8d8bef9SDimitry Andric    "Layout sections to optimize the given callgraph">;
271e8d8bef9SDimitry Andricdefm call_graph_profile_sort: B<
272e8d8bef9SDimitry Andric    "call-graph-profile-sort",
273e8d8bef9SDimitry Andric    "Reorder sections with call graph profile (default)",
274e8d8bef9SDimitry Andric    "Do not reorder sections with call graph profile">;
275e8d8bef9SDimitry Andricdef print_symbol_order: P<
276e8d8bef9SDimitry Andric    "print-symbol-order",
277e8d8bef9SDimitry Andric    "Print a symbol order specified by /call-graph-ordering-file and "
278e8d8bef9SDimitry Andric    "/call-graph-profile-sort into the specified file">;
279e8d8bef9SDimitry Andricdef wrap : P_priv<"wrap">;
2800b57cec5SDimitry Andric
2810b57cec5SDimitry Andric// Flags for debugging
2820b57cec5SDimitry Andricdef lldmap : F<"lldmap">;
283349cc55cSDimitry Andricdef lldmap_file : P_priv<"lldmap">;
2845ffd83dbSDimitry Andricdef map : F<"map">;
285349cc55cSDimitry Andricdef map_file : P_priv<"map">;
2860b57cec5SDimitry Andricdef show_timing : F<"time">;
2870b57cec5SDimitry Andricdef summary : F<"summary">;
2880b57cec5SDimitry Andric
2890b57cec5SDimitry Andric//==============================================================================
2900b57cec5SDimitry Andric// The flags below do nothing. They are defined only for link.exe compatibility.
2910b57cec5SDimitry Andric//==============================================================================
2920b57cec5SDimitry Andric
2930b57cec5SDimitry Andricdef ignoreidl : F<"ignoreidl">;
294349cc55cSDimitry Andricdef ltcg : F<"ltcg">;
2950b57cec5SDimitry Andricdef nologo : F<"nologo">;
2960b57cec5SDimitry Andricdef throwingnew : F<"throwingnew">;
2970b57cec5SDimitry Andricdef editandcontinue : F<"editandcontinue">;
2980b57cec5SDimitry Andricdef fastfail : F<"fastfail">;
299*81ad6265SDimitry Andricdef kernel : F<"kernel">;
300*81ad6265SDimitry Andricdef pdbcompress : F<"pdbcompress">;
3010b57cec5SDimitry Andric
302349cc55cSDimitry Andricdef delay : P_priv<"delay">;
303349cc55cSDimitry Andricdef errorreport : P_priv<"errorreport">;
304349cc55cSDimitry Andricdef idlout : P_priv<"idlout">;
305349cc55cSDimitry Andricdef ilk : P_priv<"ilk">;
306349cc55cSDimitry Andricdef ltcg_opt : P_priv<"ltcg">;
307349cc55cSDimitry Andricdef ltcgout : P_priv<"ltcgout">;
308349cc55cSDimitry Andricdef maxilksize : P_priv<"maxilksize">;
309349cc55cSDimitry Andricdef tlbid : P_priv<"tlbid">;
310349cc55cSDimitry Andricdef tlbout : P_priv<"tlbout">;
311349cc55cSDimitry Andricdef verbose_all : P_priv<"verbose">;
312349cc55cSDimitry Andricdef guardsym : P_priv<"guardsym">;
313