Lines Matching +full:eq +full:- +full:level

7 class FF<string name> : Flag<["--"], name>;
8 class JJ<string name>: Joined<["--"], name>;
11 def NAME: Separate<["--"], name>;
12 def NAME # _eq: Joined<["--"], name # "=">, Alias<!cast<Separate>(NAME)>,
17 def NAME: Flag<["--"], name>, HelpText<help1>;
18 def no_ # NAME: Flag<["--"], "no-" # name>, HelpText<help2>;
23 class F<string name>: Flag<["--", "-"], name>;
24 class J<string name>: Joined<["--", "-"], name>;
26 multiclass Eq<string name, string help> {
27 def NAME: Separate<["--", "-"], name>;
28 def NAME # _eq: Joined<["--", "-"], name # "=">, Alias<!cast<Separate>(NAME)>,
33 def NAME: Flag<["--", "-"], name>, HelpText<help1>;
34 def no_ # NAME: Flag<["--", "-"], "no-" # name>, HelpText<help2>;
37 defm auxiliary: Eq<"auxiliary", "Set DT_AUXILIARY field to the specified name">;
41 def Bno_symbolic: F<"Bno-symbolic">, HelpText<"Don't bind default visibility defined symbols locall…
43 def Bsymbolic: F<"Bsymbolic">, HelpText<"Bind default visibility defined symbols locally for -share…
45 def Bsymbolic_non_weak: F<"Bsymbolic-non-weak">,
46 HelpText<"Bind default visibility defined STB_GLOBAL symbols locally for -shared">;
48 def Bsymbolic_functions: F<"Bsymbolic-functions">,
49 HelpText<"Bind default visibility defined function symbols locally for -shared">;
51 def Bsymbolic_non_weak_functions: F<"Bsymbolic-non-weak-functions">,
52 HelpText<"Bind default visibility defined STB_GLOBAL function symbols locally for -shared">;
58 def build_id: J<"build-id=">, HelpText<"Generate build ID note">,
60 def : F<"build-id">, Alias<build_id>, AliasArgs<["sha1"]>, HelpText<"Alias for --build-id=sha1">;
62 defm check_sections: B<"check-sections",
67 Eq<"compress-debug-sections", "Compress DWARF debug sections">,
70 defm compress_sections: EEq<"compress-sections",
73 "The compression level is <level> (if specified) or a default speed-focused level">,
74 MetaVarName<"<section-glob>={none,zlib,zstd}[:level]">;
76 defm defsym: Eq<"defsym", "Define a symbol alias">, MetaVarName<"<symbol>=<value>">;
78 defm optimize_bb_jumps: BB<"optimize-bb-jumps",
82 defm fortran_common : BB<"fortran-common",
87 : Eq<"split-stack-adjust-size",
88 "Specify adjustment to stack size when a split-stack function calls a "
89 "non-split-stack function">,
92 def O: JoinedOrSeparate<["-"], "O">, HelpText<"Optimize output file size">;
94 def cmse_implib: FF<"cmse-implib">,
97 defm in_implib: EEq<"in-implib",
102 defm out_implib: EEq<"out-implib",
106 defm Tbss: Eq<"Tbss", "Same as --section-start with .bss as the sectionname">;
108 defm Tdata: Eq<"Tdata", "Same as --section-start with .data as the sectionname">;
110 defm Ttext: Eq<"Ttext", "Same as --section-start with .text as the sectionname">;
112 def Ttext_segment: Separate<["-", "--"], "Ttext-segment">;
114 defm allow_multiple_definition: B<"allow-multiple-definition",
118 defm allow_shlib_undefined: B<"allow-shlib-undefined",
122 defm apply_dynamic_relocs: BB<"apply-dynamic-relocs",
123 "Apply link-time values for dynamic relocations",
124 "Do not apply link-time values for dynamic relocations (default)">;
126 defm dependent_libraries: BB<"dependent-libraries",
130 defm as_needed: B<"as-needed",
135 Eq<"call-graph-ordering-file", "Layout sections to optimize the given callgraph">;
137 def call_graph_profile_sort: JJ<"call-graph-profile-sort=">,
141 def : FF<"no-call-graph-profile-sort">, Alias<call_graph_profile_sort>, AliasArgs<["none"]>,
144 // --chroot doesn't have a help text because it is an internal option.
145 def chroot: Separate<["--"], "chroot">;
147 def color_diagnostics: JJ<"color-diagnostics=">,
150 def : Flag<["--"], "color-diagnostics">, Alias<color_diagnostics>, AliasArgs<["always"]>,
151 HelpText<"Alias for --color-diagnostics=always">;
152 def : Flag<["--"], "no-color-diagnostics">, Alias<color_diagnostics>, AliasArgs<["never"]>,
153 HelpText<"Alias for --color-diagnostics=never">;
156 HelpText<"Output cross reference table. If -Map is specified, print to the map file">;
158 defm debug_names: BB<"debug-names",
162 defm default_script: EEq<"default-script", "In the absence of --script, read this default linker sc…
168 defm dependency_file: EEq<"dependency-file", "Write a dependency file">,
171 def disable_new_dtags: F<"disable-new-dtags">,
174 def discard_all: F<"discard-all">, HelpText<"Delete all local symbols">;
176 def discard_locals: F<"discard-locals">,
179 def discard_none: F<"discard-none">,
182 defm dynamic_linker: Eq<"dynamic-linker", "Which dynamic linker to use">;
184 defm dynamic_list : Eq<"dynamic-list",
185 "Similar to --export-dynamic-symbol-list. When creating a shared object, "
186 "this additionally implies -Bsymbolic but does not set DF_SYMBOLIC">,
189 def eb: F<"EB">, HelpText<"Select the big-endian format in OUTPUT_FORMAT">;
190 def el: F<"EL">, HelpText<"Select the little-endian format in OUTPUT_FORMAT">;
192 defm eh_frame_hdr: B<"eh-frame-hdr",
196 def emit_relocs: F<"emit-relocs">, HelpText<"Generate relocations in output">;
198 def enable_new_dtags: F<"enable-new-dtags">,
201 def enable_non_contiguous_regions : FF<"enable-non-contiguous-regions">,
204 def end_group: F<"end-group">,
205 HelpText<"Ignored for compatibility with GNU unless you pass --warn-backrefs">;
207 def end_lib: F<"end-lib">,
210 defm entry: Eq<"entry", "Name of entry point symbol">,
214 EEq<"error-limit", "Maximum number of errors to emit before stopping (0 = no limit)">;
216 def error_unresolved_symbols: F<"error-unresolved-symbols">,
219 defm error_handling_script: EEq<"error-handling-script",
222 defm exclude_libs: Eq<"exclude-libs", "Exclude static libraries from automatic export">;
224 defm execute_only: BB<"execute-only",
228 defm export_dynamic: B<"export-dynamic",
232 defm export_dynamic_symbol : EEq<"export-dynamic-symbol",
234 "(shared object) References to matched non-local STV_DEFAULT symbols "
236 "Does not imply -Bsymbolic.">,
239 defm export_dynamic_symbol_list : EEq<"export-dynamic-symbol-list",
240 "Read a list of dynamic symbol patterns. Apply --export-dynamic-symbol on each pattern">,
243 defm fatal_warnings: B<"fatal-warnings",
247 defm filter: Eq<"filter", "Set DT_FILTER field to the specified name">;
249 defm fini: Eq<"fini", "Specify a finalizer function">, MetaVarName<"<symbol>">;
251 def fix_cortex_a53_843419: F<"fix-cortex-a53-843419">,
252 HelpText<"Apply fixes for AArch64 Cortex-A53 erratum 843419">;
254 def fix_cortex_a8: F<"fix-cortex-a8">,
255 HelpText<"Apply fixes for ARM Cortex-A8 erratum 657417">;
257 def force_group_allocation: FF<"force-group-allocation">,
258 …HelpText<"Only meaningful for -r. Section groups are discarded. If two section group members are p…
260 defm format: Eq<"format", "Change the input format of the inputs following this option">,
263 defm gc_sections: B<"gc-sections",
267 defm gdb_index: BB<"gdb-index",
271 defm gnu_unique: BB<"gnu-unique",
275 defm hash_style: Eq<"hash-style", "Specify hash style (sysv, gnu or both)">;
285 def ignore_function_address_equality: FF<"ignore-function-address-equality">,
288 def ignore_data_address_equality: FF<"ignore-data-address-equality">,
291 defm image_base: EEq<"image-base", "Set the base address">;
293 defm init: Eq<"init", "Specify an initializer function">,
296 defm just_symbols: Eq<"just-symbols", "Just link symbols">;
298 defm keep_unique: Eq<"keep-unique", "Do not fold this symbol during ICF">;
300 def library: JoinedOrSeparate<["-"], "l">, MetaVarName<"<libname>">,
302 def library_path: JoinedOrSeparate<["-"], "L">, MetaVarName<"<dir>">,
305 def m: JoinedOrSeparate<["-"], "m">, HelpText<"Set target emulation">;
307 defm Map: Eq<"Map", "Print a link map to the specified file">;
309 defm merge_exidx_entries: B<"merge-exidx-entries",
313 defm mmap_output_file: BB<"mmap-output-file",
323 def no_dynamic_linker: F<"no-dynamic-linker">,
326 def noinhibit_exec: F<"noinhibit-exec">,
329 def no_warn_mismatch: F<"no-warn-mismatch">,
332 def no_nmagic: F<"no-nmagic">, MetaVarName<"<magic>">,
335 def no_omagic: F<"no-omagic">, MetaVarName<"<magic>">,
338 def no_undefined: F<"no-undefined">,
341 def no_warnings: FF<"no-warnings">, HelpText<"Suppress warnings and cancel --fatal-warnings">;
342 def : Flag<["-"], "w">, Alias<no_warnings>, HelpText<"Alias for --no-warnings">;
344 def o: JoinedOrSeparate<["-"], "o">, MetaVarName<"<path>">,
354 Eq<"orphan-handling", "Control how orphan sections are handled when linker script used">;
357 EEq<"pack-dyn-relocs", "Pack dynamic relocations in the given format">,
360 defm use_android_relr_tags: BB<"use-android-relr-tags",
364 def pic_veneer: F<"pic-veneer">,
371 defm print_gc_sections: B<"print-gc-sections",
375 defm print_icf_sections: B<"print-icf-sections",
379 def print_archive_stats: J<"print-archive-stats=">,
383 defm print_symbol_order: Eq<"print-symbol-order",
384 "Print a symbol order specified by --call-graph-ordering-file into the specified file">;
386 def pop_state: F<"pop-state">,
387 HelpText<"Restore the states saved by --push-state">;
389 def push_state: F<"push-state">,
390 HelpText<"Save the current state of --as-needed, -static and --whole-archive">;
392 def print_map: F<"print-map">,
395 def print_memory_usage: F<"print-memory-usage">,
399 "Enable target-specific relaxations if supported (default)",
400 "Disable target-specific relaxations">;
402 defm relax_gp: BB<"relax-gp",
406 defm remap_inputs: EEq<"remap-inputs",
407 "Remap input files matching <from-glob> to <to-file>">,
408 MetaVarName<"<from-glob>=<to-file>">;
410 def remap_inputs_file: JJ<"remap-inputs-file=">,
411 …HelpText<"Each line contains 'from-glob=to-file'. An input file matching <from-glob> is remapped t…
419 "Put read-only non-executable sections in their own segment (default)",
420 "Do not put read-only non-executable sections in their own segment">;
422 defm rpath: Eq<"rpath", "Add a DT_RUNPATH to the output">;
427 Eq<"retain-symbols-file", "Retain only the symbols listed in the file">,
430 defm script: Eq<"script", "Read linker script">;
432 defm section_start: Eq<"section-start", "Set address of section">,
437 defm soname: Eq<"soname", "Set DT_SONAME">;
440 Eq<"sort-section", "Specifies sections sorting rule when linkerscript is used">;
442 def start_group: F<"start-group">,
443 HelpText<"Ignored for compatibility with GNU unless you pass --warn-backrefs">;
445 def start_lib: F<"start-lib">,
448 def strip_all: F<"strip-all">, HelpText<"Strip all symbols. Implies --strip-debug">;
450 def strip_debug: F<"strip-debug">, HelpText<"Strip debugging information">;
453 …EEq<"symbol-ordering-file", "Layout sections to place symbols in the order specified by symbol ord…
455 defm sysroot: Eq<"sysroot", "Set the system root">;
457 def target1_rel: F<"target1-rel">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_REL32">;
459 def target1_abs: F<"target1-abs">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_ABS32 (default)">;
462 Eq<"target2", "Interpret R_ARM_TARGET2 as <type>, where <type> is one of rel, abs, or got-rel">,
467 "Number of threads. '1' disables multi-threading. By default all "
470 def time_trace_eq: JJ<"time-trace=">, MetaVarName<"<file>">,
472 def : FF<"time-trace">, Alias<time_trace_eq>,
475 defm time_trace_granularity: EEq<"time-trace-granularity",
478 defm toc_optimize : BB<"toc-optimize",
482 defm pcrel_optimize : BB<"pcrel-optimize",
483 "(PowerPC64) Enable PC-relative optimizations (default)",
484 "(PowerPC64) Disable PC-relative optimizations">;
488 defm trace_symbol: Eq<"trace-symbol", "Trace references to symbols">;
490 defm undefined: Eq<"undefined", "Force undefined symbol during linking">,
493 defm undefined_glob: EEq<"undefined-glob", "Force undefined symbol during linking">,
499 Eq<"unresolved-symbols", "Determine how to handle unresolved symbols">;
501 defm undefined_version: B<"undefined-version",
505 defm rsp_quoting: EEq<"rsp-quoting", "Quoting style for response files">,
508 def v: Flag<["-"], "v">, HelpText<"Display the version number">;
514 def power10_stubs_eq: JJ<"power10-stubs=">, MetaVarName<"<mode>">,
517 def power10_stubs: FF<"power10-stubs">, Alias<power10_stubs_eq>, AliasArgs<["yes"]>,
518 HelpText<"Alias for --power10-stubs=auto">;
519 def no_power10_stubs: FF<"no-power10-stubs">, Alias<power10_stubs_eq>, AliasArgs<["no"]>,
520 HelpText<"Alias for --power10-stubs=no">;
522 defm version_script: Eq<"version-script", "Read a version script">;
524 defm warn_backrefs: BB<"warn-backrefs",
529 : EEq<"warn-backrefs-exclude",
530 "Glob describing an archive (or an object file within --start-lib) "
531 "which should be ignored for --warn-backrefs.">,
534 defm warn_common: B<"warn-common",
538 defm warn_ifunc_textrel: BB<"warn-ifunc-textrel",
542 defm warn_symbol_ordering: BB<"warn-symbol-ordering",
546 def warn_unresolved_symbols: F<"warn-unresolved-symbols">,
549 defm whole_archive: B<"whole-archive",
553 def why_extract: JJ<"why-extract=">, HelpText<"Print to a file about why archive members are extrac…
555 defm wrap : Eq<"wrap", "Redirect symbol references to __wrap_symbol and "
559 def z: JoinedOrSeparate<["-"], "z">, MetaVarName<"<option>">,
562 def visual_studio_diagnostics_format : FF<"vs-diagnostics">,
565 def package_metadata: JJ<"package-metadata=">, HelpText<"Emit package metadata note">;
568 def: Separate<["-"], "dT">, Alias<default_script>, HelpText<"Alias for --default-script">;
569 def: Separate<["-"], "f">, Alias<auxiliary>, HelpText<"Alias for --auxiliary">;
570 def: F<"call_shared">, Alias<Bdynamic>, HelpText<"Alias for --Bdynamic">;
571 def: F<"dy">, Alias<Bdynamic>, HelpText<"Alias for --Bdynamic">;
572 def: F<"dn">, Alias<Bstatic>, HelpText<"Alias for --Bstatic">;
573 def: F<"non_shared">, Alias<Bstatic>, HelpText<"Alias for --Bstatic">;
574 def: F<"static">, Alias<Bstatic>, HelpText<"Alias for --Bstatic">;
575 def: Flag<["-"], "x">, Alias<discard_all>, HelpText<"Alias for --discard-all">;
576 def: Flag<["-"], "X">, Alias<discard_locals>, HelpText<"Alias for --discard-locals">;
577 def: Flag<["-"], "q">, Alias<emit_relocs>, HelpText<"Alias for --emit-relocs">;
578 def: Flag<["-"], ")">, Alias<end_group>, HelpText<"Alias for --end-group">;
579 def: JoinedOrSeparate<["-"], "e">, Alias<entry>, HelpText<"Alias for --entry">;
580 def: Flag<["-"], "E">, Alias<export_dynamic>, HelpText<"Alias for --export-dynamic">;
581 def: Separate<["-"], "F">, Alias<filter>, HelpText<"Alias for --filter">;
582 def: Separate<["-"], "b">, Alias<format>, HelpText<"Alias for --format">;
583 def: Separate<["--", "-"], "library">, Alias<library>;
584 def: Joined<["--", "-"], "library=">, Alias<library>;
585 def: Separate<["--", "-"], "library-path">, Alias<library_path>;
586 def: Joined<["--", "-"], "library-path=">, Alias<library_path>;
587 def: Flag<["-"], "n">, Alias<nmagic>, HelpText<"Alias for --nmagic">;
588 def: Flag<["-"], "N">, Alias<omagic>, HelpText<"Alias for --omagic">;
589 def: Joined<["--"], "output=">, Alias<o>, HelpText<"Alias for -o">;
590 def: Separate<["--"], "output">, Alias<o>, HelpText<"Alias for -o">;
591 def: F<"pic-executable">, Alias<pie>, HelpText<"Alias for --pie">;
592 def: Flag<["-"], "M">, Alias<print_map>, HelpText<"Alias for --print-map">;
593 def: Flag<["-"], "r">, Alias<relocatable>, HelpText<"Alias for --relocatable">;
594 def: JoinedOrSeparate<["-"], "R">, Alias<rpath>, HelpText<"Alias for --rpath">;
595 def: JoinedOrSeparate<["-"], "T">, Alias<script>, HelpText<"Alias for --script">;
596 def: F<"Bshareable">, Alias<shared>, HelpText<"Alias for --shared">;
597 def: JoinedOrSeparate<["-"], "h">, Alias<soname>, HelpText<"Alias for --soname">;
598 def: Flag<["-"], "(">, Alias<start_group>, HelpText<"Alias for --start-group">;
599 def: Flag<["-"], "s">, Alias<strip_all>, HelpText<"Alias for --strip-all">;
600 def: Flag<["-"], "S">, Alias<strip_debug>, HelpText<"Alias for --strip-debug">;
601 def: Flag<["-"], "t">, Alias<trace>, HelpText<"Alias for --trace">;
602 def: Joined<["-", "--"], "Ttext-segment=">, Alias<Ttext_segment>;
603 def: JoinedOrSeparate<["-"], "y">, Alias<trace_symbol>, HelpText<"Alias for --trace-symbol">;
604 def: JoinedOrSeparate<["-"], "u">, Alias<undefined>, HelpText<"Alias for --undefined">;
605 def: Flag<["-"], "V">, Alias<v>, HelpText<"Alias for -v">;
607 // LTO-related options.
611 def lto_aa_pipeline: JJ<"lto-aa-pipeline=">,
612 HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">;
613 def lto_debug_pass_manager: FF<"lto-debug-pass-manager">,
615 def lto_emit_asm: FF<"lto-emit-asm">,
617 def lto_emit_llvm: FF<"lto-emit-llvm">,
618 HelpText<"Emit LLVM-IR bitcode">;
619 def lto_newpm_passes: JJ<"lto-newpm-passes=">,
621 def lto_O: JJ<"lto-O">, MetaVarName<"<opt-level>">,
622 HelpText<"Optimization level for LTO">;
623 def lto_CGO: JJ<"lto-CGO">, MetaVarName<"<cgopt-level>">,
624 HelpText<"Codegen optimization level for LTO">;
625 def lto_partitions: JJ<"lto-partitions=">,
627 def lto_cs_profile_generate: FF<"lto-cs-profile-generate">,
629 def lto_cs_profile_file: JJ<"lto-cs-profile-file=">,
631 defm lto_pgo_warn_mismatch: BB<"lto-pgo-warn-mismatch",
634 defm lto_known_safe_vtables : EEq<"lto-known-safe-vtables",
635 …"When --lto-validate-all-vtables-have-type-infos is enabled, skip validation on these vtables (_ZT…
636 def lto_obj_path_eq: JJ<"lto-obj-path=">;
637 def lto_sample_profile: JJ<"lto-sample-profile=">,
639 defm lto_validate_all_vtables_have_type_infos: BB<"lto-validate-all-vtables-have-type-infos",
642 defm lto_whole_program_visibility: BB<"lto-whole-program-visibility",
645 def disable_verify: F<"disable-verify">;
646 defm mllvm: Eq<"mllvm", "Additional arguments to forward to LLVM's option processing">;
647 def opt_remarks_filename: Separate<["--"], "opt-remarks-filename">,
649 defm opt_remarks_hotness_threshold: EEq<"opt-remarks-hotness-threshold",
653 def opt_remarks_passes: Separate<["--"], "opt-remarks-passes">,
655 def opt_remarks_with_hotness: FF<"opt-remarks-with-hotness">,
657 def opt_remarks_format: Separate<["--"], "opt-remarks-format">,
659 def save_temps: F<"save-temps">, HelpText<"Save intermediate LTO compilation results">;
660 def save_temps_eq: JJ<"save-temps=">, HelpText<"Save select intermediate LTO compilation results">,
662 def lto_basic_block_sections: JJ<"lto-basic-block-sections=">,
664 defm lto_basic_block_address_map: BB<"lto-basic-block-address-map",
667 defm lto_unique_basic_block_section_names: BB<"lto-unique-basic-block-section-names",
670 defm shuffle_sections: EEq<"shuffle-sections",
672 "If -1, reverse the section order. If 0, use a random seed">,
673 MetaVarName<"<section-glob>=<seed>">;
674 def thinlto_cache_dir: JJ<"thinlto-cache-dir=">,
676 defm thinlto_cache_policy: EEq<"thinlto-cache-policy", "Pruning policy for the ThinLTO cache">;
677 def thinlto_emit_imports_files: FF<"thinlto-emit-imports-files">;
678 def thinlto_emit_index_files: FF<"thinlto-emit-index-files">;
679 def thinlto_index_only: FF<"thinlto-index-only">;
680 def thinlto_index_only_eq: JJ<"thinlto-index-only=">;
681 def thinlto_jobs_eq: JJ<"thinlto-jobs=">,
682 HelpText<"Number of ThinLTO jobs. Default to --threads=">;
683 def thinlto_object_suffix_replace_eq: JJ<"thinlto-object-suffix-replace=">;
684 def thinlto_prefix_replace_eq: JJ<"thinlto-prefix-replace=">;
685 def thinlto_single_module_eq: JJ<"thinlto-single-module=">,
688 defm fat_lto_objects: BB<"fat-lto-objects",
692 def: J<"plugin-opt=O">, Alias<lto_O>, HelpText<"Alias for --lto-O">;
693 def: F<"plugin-opt=debug-pass-manager">,
694 Alias<lto_debug_pass_manager>, HelpText<"Alias for --lto-debug-pass-manager">;
695 def: F<"plugin-opt=disable-verify">, Alias<disable_verify>, HelpText<"Alias for --disable-verify">;
696 def plugin_opt_dwo_dir_eq: J<"plugin-opt=dwo_dir=">,
698 def plugin_opt_emit_asm: F<"plugin-opt=emit-asm">,
699 Alias<lto_emit_asm>, HelpText<"Alias for --lto-emit-asm">;
700 def plugin_opt_emit_llvm: F<"plugin-opt=emit-llvm">,
701 Alias<lto_emit_llvm>, HelpText<"Alias for --lto-emit-llvm">;
702 def: J<"plugin-opt=jobs=">, Alias<thinlto_jobs_eq>, HelpText<"Alias for --thinlto-jobs=">;
703 def: J<"plugin-opt=lto-partitions=">, Alias<lto_partitions>, HelpText<"Alias for --lto-partitions">;
704 def plugin_opt_mcpu_eq: J<"plugin-opt=mcpu=">;
705 def: F<"plugin-opt=cs-profile-generate">,
706 Alias<lto_cs_profile_generate>, HelpText<"Alias for --lto-cs-profile-generate">;
707 def: J<"plugin-opt=cs-profile-path=">,
708 Alias<lto_cs_profile_file>, HelpText<"Alias for --lto-cs-profile-file">;
709 def: J<"plugin-opt=obj-path=">,
711 HelpText<"Alias for --lto-obj-path=">;
712 def: J<"plugin-opt=opt-remarks-filename=">,
714 HelpText<"Alias for --opt-remarks-filename">;
715 def: J<"plugin-opt=opt-remarks-passes=">,
717 HelpText<"Alias for --opt-remarks-passes">;
718 def: J<"plugin-opt=opt-remarks-format=">,
720 HelpText<"Alias for --opt-remarks-format">;
721 def: F<"plugin-opt=opt-remarks-with-hotness">,
723 HelpText<"Alias for --opt-remarks-with_hotness">;
724 def: J<"plugin-opt=opt-remarks-hotness-threshold=">,
726 HelpText<"Alias for --opt-remarks-hotness-threshold">;
727 def: J<"plugin-opt=sample-profile=">,
728 Alias<lto_sample_profile>, HelpText<"Alias for --lto-sample-profile">;
729 def: F<"plugin-opt=save-temps">, Alias<save_temps>, HelpText<"Alias for --save-temps">;
730 def plugin_opt_stats_file: J<"plugin-opt=stats-file=">,
732 def: F<"plugin-opt=thinlto-emit-imports-files">,
734 HelpText<"Alias for --thinlto-emit-imports-files">;
735 def: F<"plugin-opt=thinlto-index-only">,
737 HelpText<"Alias for --thinlto-index-only">;
738 def: J<"plugin-opt=thinlto-index-only=">,
740 HelpText<"Alias for --thinlto-index-only=">;
741 def: J<"plugin-opt=thinlto-object-suffix-replace=">,
743 HelpText<"Alias for --thinlto-object-suffix-replace=">;
744 def: J<"plugin-opt=thinlto-prefix-replace=">,
746 HelpText<"Alias for --thinlto-prefix-replace=">;
748 // Ignore LTO plugin-related options.
749 // clang -flto passes -plugin and -plugin-opt to the linker. This is required
754 // --version output.
755 defm plugin: Eq<"plugin", "Ignored for compatibility with GNU linkers">;
757 def plugin_opt_eq_minus: J<"plugin-opt=-">,
759 def: J<"plugin-opt=thinlto">;
762 // GCC LTO, but GCC collect2 passes these options even in non-LTO mode.
763 def: J<"plugin-opt=-fresolution=">;
764 def: J<"plugin-opt=-pass-through=">;
766 // -plugin-opt=path/to/{liblto_plugin.so,lto-wrapper}
767 def plugin_opt_eq : J<"plugin-opt=">;
770 def: Flag<["-"], "d">;
771 def: Flag<["-"], "g">;
772 def: F<"long-plt">;
773 def: FF<"no-add-needed">;
774 def: F<"no-copy-dt-needed-entries">;
775 def: F<"no-ctors-in-init-array">;
776 def: F<"no-keep-memory">;
777 def: Separate<["--", "-"], "rpath-link">;
778 def: J<"rpath-link=">;
779 def: F<"secure-plt">;
780 def: F<"sort-common">;
782 def: F<"warn-execstack">;
783 def: F<"warn-once">;
784 def: F<"warn-shared-textrel">;
785 def: JoinedOrSeparate<["-"], "G">;
787 // Hidden option used for testing MIPS multi-GOT implementation.
789 Eq<"mips-got-size", "Max size of a single MIPS GOT. 0x10000 by default.">,
792 // Hidden option used to opt-in to additional output checks.
793 defm check_dynamic_relocations: BB<"check-dynamic-relocations",
798 defm load_pass_plugins: EEq<"load-pass-plugin", "Load passes from plugin library">;
800 // Hidden options, used by clang's -fsanitize=memtag-* options to emit an ELF
805 defm android_memtag_stack: BB<"android-memtag-stack",
807 defm android_memtag_heap: BB<"android-memtag-heap",
809 defm android_memtag_mode: EEq<"android-memtag-mode",