Lines Matching refs:HelpText

6 def grp_lld : OptionGroup<"kind">, HelpText<"LLD-SPECIFIC">;
11 HelpText<"Display help for hidden options">,
16 HelpText<"Maximum number of errors to print before exiting (default: 20)">,
19 HelpText<"Alias for --color-diagnostics=always">,
22 HelpText<"Alias for --color-diagnostics=never">,
25 HelpText<"Use colors in diagnostics (default: auto)">,
29HelpText<"Number of threads. '1' disables multi-threading. By default all available hardware threa…
40 HelpText<"Number of ThinLTO jobs. Default to --threads=">,
51 HelpText<"Write tar file containing inputs and command to reproduce link">,
54 HelpText<"Display the version number and exit">,
57 HelpText<"Use the new pass manager in LLVM">,
60 HelpText<"Record time trace to <file>">,
65 HelpText<"Record time trace to file next to output">,
68 HelpText<"Minimum time granularity (in microseconds) traced by time profiler">,
71 HelpText<"Enable string deduplication">,
74HelpText<"Disable string deduplication. This helps uncover cases of comparing string addresses ins…
77 HelpText<"Do not error on duplicate symbols that will be dead stripped.">,
80 HelpText<"Print which paths lld searched when trying to find dylibs">,
83 HelpText<"Set level for identical code folding (default: none)">,
87 HelpText<"Set optimization level for LTO (default: 2)">,
91 HelpText<"Pruning policy for the ThinLTO cache">,
94 HelpText<"Optimize output file size">;
96HelpText<"Start a grouping of objects that should be treated as if they were together in an archiv…
98HelpText<"End a grouping of objects that should be treated as if they were together in an archive"…
100 HelpText<"Do not warn on -install_name if -dylib is not passed (default)">,
103 HelpText<"Warn on -install_name if -dylib is not passed">,
106 HelpText<"Reorder sections with call graph profile (default)">,
109 HelpText<"Do not reorder sections with call graph profile">,
112 HelpText<"Print a symbol order specified by --call-graph-profile-sort into the specified file">,
118HelpText<"Ignore a single auto-linked library or framework. Useful to ignore invalid options that …
121HelpText<"Always warn for missing frameworks or libraries if they are loaded via LC_LINKER_OPTIONS…
134 def grp_kind : OptionGroup<"kind">, HelpText<"OUTPUT KIND">;
137 HelpText<"Produce a main executable (default)">,
140 HelpText<"Produce a shared library">,
143 HelpText<"Produce a bundle">,
146 HelpText<"Merge multiple object files into one, retaining relocations">,
150 HelpText<"Produce a dylinker only used when building dyld">,
154 HelpText<"Link dynamically (default)">,
157 HelpText<"Link statically">,
161 HelpText<"Produce an unsegmented binary for embedded systems">,
166 HelpText<"The architecture (e.g. ppc, ppc64, i386, x86_64)">,
170 HelpText<"The name of the output file (default: `a.out')">,
173 def grp_libs : OptionGroup<"libs">, HelpText<"LIBRARIES">;
177 HelpText<"Search for lib<name>.dylib or lib<name>.a on the library search path">,
181 HelpText<"Like -l<name>, but mark library and its references as weak imports">,
185 HelpText<"Like bare <path>, but mark library and its references as weak imports">,
189HelpText<"Like -l<name>, but link library even if its symbols are not used and -dead_strip_dylibs …
193HelpText<"Like bare <path>, but link library even if its symbols are not used and -dead_strip_dyli…
197 HelpText<"Like -l<name>, but export all symbols of <name> from newly created library">,
201 HelpText<"Like bare <path>, but export all symbols of <path> from newly created library">,
205 HelpText<"Like -l<name>, but specify dylib as an upward dependency">,
210 HelpText<"Like bare <path>, but specify dylib as an upward dependency">,
215 HelpText<"Add dir to the library search path">,
218 HelpText<"Remove standard directories from the library and framework search paths">,
222 HelpText<"Prepend <rootdir> to all library and framework search paths">,
225HelpText<"Search for lib<name>.dylib and lib<name>.a at each step in traversing search path (defau…
228HelpText<"Search for lib<name>.dylib on first pass, then for lib<name>.a on second pass through se…
232 HelpText<"Search for <name>.framework/<name> on the framework search path">,
236 HelpText<"Like -framework <name>, but mark framework and its references as weak imports">,
240HelpText<"Like -framework <name>, but link <name> even if none of its symbols are used and -dead_s…
244HelpText<"Like -framework <name>, but export all symbols of <name> from the newly created library"…
248 HelpText<"Like -framework <name>, but specify the framework as an upward dependency">,
253 HelpText<"Add dir to the framework search path">,
256 HelpText<"Load all members of all static archive libraries">,
259HelpText<"Don't load all static members from archives, this is the default, this negates -all_load…
262 HelpText<"Load all members of static archives that are an Objective-C class or category.">,
266 HelpText<"Load all members static archive library at <path>">,
269HelpText<"Apply -force_load to libraries listed in LC_LINKER_OPTIONS whose names start with 'swift…
273 HelpText<"Load all symbols from static library with hidden visibility">,
277 HelpText<"Like -l<name>, but load all symbols with hidden visibility">,
280 def grp_content : OptionGroup<"content">, HelpText<"ADDITIONAL CONTENT">;
284 HelpText<"Create <section> in <segment> from the contents of <file>">,
289 HelpText<"Alias for -sectcreate">,
293 HelpText<"Create an empty <section> in <segment>">,
297 HelpText<"Read names of files to link from <file>">,
301 HelpText<"Enable DTrace static probes according to declarations in <script>">,
305 def grp_opts : OptionGroup<"opts">, HelpText<"OPTIMIZATIONS">;
308 HelpText<"Remove unreachable functions and data">,
312 HelpText<"Layout functions and data according to specification in <file>">,
315 HelpText<"Disable default reordering of initializer and terminator functions">,
319 HelpText<"Disable default reordering of global data accessed at launch time">,
324 HelpText<"Preferred hex load address for a dylib or bundle.">,
330 HelpText<"Alias for -image_base">,
334 HelpText<"Do not optimize public dylib transitive symbol references">,
338 HelpText<"Specify frequently-used symbols in <file> to optimize symbol exports">,
342 HelpText<"Explicitly store zeroed data in the final image">,
346 HelpText<"Merge all zeroed data into the __zerofill section">,
350 HelpText<"Disable infra for branches beyond the maximum branch distance.">,
354 HelpText<"Disable code deduplication (synonym for `--icf=none')">,
358 def grp_version : OptionGroup<"version">, HelpText<"VERSION TARGETING">;
362HelpText<"Platform (e.g., macos, ios, tvos, watchos, bridgeos, mac-catalyst, ios-sim, tvos-sim, wa…
365 HelpText<"This option is undocumented in ld64">,
370 HelpText<"Oldest macOS version for which linked output is usable">,
375 HelpText<"Alias for -macos_version_min">,
380 HelpText<"Oldest iOS version for which linked output is usable">,
385 HelpText<"Oldest iOS simulator version for which linked output is usable">,
391 HelpText<"Alias for -ios_version_min">,
396 HelpText<"Oldest MacCatalyst version for which linked output is usable">,
402 HelpText<"Alias for -maccatalyst_version_min">,
408 HelpText<"Alias for -maccatalyst_version_min">,
413 HelpText<"Oldest tvOS version for which linked output is usable">,
418 HelpText<"Oldest watchOS version for which linked output is usable">,
423 HelpText<"Oldest bridgeOS version for which linked output is usable">,
428 HelpText<"Oldest DriverKit version for which linked output is usable">,
432 def grp_dylib : OptionGroup<"dylib">, HelpText<"DYNAMIC LIBRARIES (DYLIB)">;
436 HelpText<"Set an internal install path in a dylib">,
441 HelpText<"Alias for -install_name">,
446 HelpText<"Alias for -install_name">,
449HelpText<"Mark output dylib as dead-strippable: When a client links against it but does not use an…
453 HelpText<"Compatibility <version> of this library">,
458 HelpText<"Alias for -compatibility_version">,
463 HelpText<"Current <version> of this library">,
468 HelpText<"Alias for -current_version">,
472 def grp_main : OptionGroup<"main">, HelpText<"MAIN EXECUTABLE">;
475 HelpText<"Build a position independent executable (default)">,
478 HelpText<"Do not build a position independent executable">,
482HelpText<"Size of unreadable segment at address zero is hex <size> (default is 4KB on 32-bit and 4…
486 HelpText<"Maximum hex stack size for the main thread in a program. (default is 8MB)">,
490 HelpText<"Mark stack segment as executable">,
494 HelpText<"Preserve all global symbols during LTO and when dead-stripping executables">,
497 def grp_bundle : OptionGroup<"bundle">, HelpText<"CREATING A BUNDLE">;
501 HelpText<"Resolve undefined symbols from <executable>">,
504 def grp_object : OptionGroup<"object">, HelpText<"CREATING AN OBJECT FILE">;
507 HelpText<"Do not convert private external symbols to static symbols (only valid with -r)">,
511 HelpText<"Force tentative into real definitions for common symbols">,
515 def grp_resolve : OptionGroup<"resolve">, HelpText<"SYMBOL RESOLUTION">;
519 HelpText<"<symbol> remains global, while others become private externs">,
523 HelpText<"Symbols specified in <file> remain global, while others become private externs">,
526HelpText<"Don't export any symbols from the binary, useful for main executables that don't have pl…
530 HelpText<"Global <symbol> becomes private extern">,
534 HelpText<"Global symbols specified in <file> become private externs">,
538 HelpText<"Symbols from dependent dylibs specified in <file> are reexported by this dylib">,
543 HelpText<"Create a symbol alias with default global visibility">,
547 HelpText<"Create symbol aliases specified in <file>">,
551HelpText<"Resolve symbols from all dylibs, both direct and transitive. Do not record source librar…
554 HelpText<"Make dyld look up symbols by (dylib,name) pairs (default)">,
558 HelpText<"Require that <symbol> be defined for the link to succeed">,
562 HelpText<"Allow <symbol> to have no definition">,
566HelpText<"Handle undefined symbols according to <treatment>: error, warning, suppress, or dynamic_…
570 HelpText<"Add <path> to dyld search list for dylibs with load path prefix `@rpath/'">,
574HelpText<"Resolve tentative definitions in dylibs according to <treatment>: ignore_dylibs, use_dyl…
578 def grp_introspect : OptionGroup<"introspect">, HelpText<"INTROSPECTING THE LINKER">;
581 HelpText<"Log why each object file is loaded from a static library">,
585 HelpText<"Alias for -why_load">,
589 HelpText<"Log a chain of references to <symbol>, for use with -dead_strip">,
592 HelpText<"Log the linker's memory and CPU usage">,
596 HelpText<"Log every file the linker loads: object, archive, and dylib">,
599 HelpText<"Logs only the object files the linker loads">,
603 HelpText<"Logs information about -order_file">,
608 HelpText<"Writes all symbols and their addresses to <path>">,
612 HelpText<"Dump dependency info">,
615 HelpText<"Save intermediate LTO compilation results">,
618 def grp_symtab : OptionGroup<"symtab">, HelpText<"SYMBOL TABLE">;
621 HelpText<"Strip debug information (STABS or DWARF) from the output">,
624 HelpText<"Exclude non-global symbols from the output symbol table">,
628HelpText<"Specify in <path> the non-global symbols that should be removed from the output symbol t…
632HelpText<"Specify in <path> the non-global symbols that should remain in the output symbol table">,
636 HelpText<"Remove the prefix <path> from OSO symbols in the debug map">,
640 HelpText<"AST paths will be emitted as STABS">,
643 def grp_bitcode : OptionGroup<"bitcode">, HelpText<"BITCODE BUILD FLOW">;
646 HelpText<"Generate an embedded bitcode bundle in the __LLVM,__bundle section of the output">,
649 HelpText<"With -bitcode_bundle, hide all non-exported symbols from output bitcode bundle.">,
654HelpText<"Write the bitcode symbol reverse mapping to file <path>, or if a directory, to <path>/UU…
658 def grp_rare : OptionGroup<"rare">, HelpText<"RARELY USED">;
661 HelpText<"Print the linker version and search paths in addition to linking">,
664 HelpText<"Write an ad-hoc code signature to the output file (default for arm64 binaries)">,
667HelpText<"Do not write an ad-hoc code signature to the output file (default for x86_64 binaries)">,
670 HelpText<"Print the linker version in JSON form">,
674 HelpText<"Fail if any symbols are weak imports, allowed to be NULL at runtime">,
678 HelpText<"Print function names eliminated by deduplication and the total size of code savings">,
682 HelpText<"Fail if the output contains static initializers">,
686 HelpText<"Suppress warnings for static initializers in the output">,
690 HelpText<"Suppress warnings germane to binaries shipping to customers">,
695HelpText<"Handle unaligned pointers in __DATA segments according to <treatment>: warning, error, o…
700 HelpText<"Specify data symbols in <path> destined for the __DATA_DIRTY segment">,
705 HelpText<"Reduce maximum alignment for common symbols to a hex power-of-2 <boundary>">,
710 HelpText<"Move data symbols listed in <path> to another <segment>">,
715 HelpText<"Move code symbols listed in <path> to another <segment>">,
720 HelpText<"Rename <from_segment>/<from_section> as <to_segment>/<to_section>">,
724 HelpText<"Rename <from_segment> as <to_segment>">,
727HelpText<"Show where and why symbols move, as specified by -move_to_ro_segment, -move_to_rw_segmen…
731 HelpText<"Force migration of readonly data into __DATA_CONST segment">,
734 HelpText<"Block migration of readonly data away from __DATA segment">,
737 HelpText<"Rename __segment TEXT to __TEXT_EXEC for sections __text and __stubs">,
742 HelpText<"With -preload, specify layout sequence of colon-separated <sections> in <segment>">,
747 HelpText<"With -preload, specify layout sequence of colon-separated <segments>">,
751 HelpText<"On i386, allow any page to execute code">,
755HelpText<"Mark output as safe for use in an application extension, and validate that linked dylibs…
758 HelpText<"Disable application extension functionality (default)">,
761 HelpText<"Treat warnings as errors">,
764 HelpText<"In -r mode, suppress .eh labels in the __eh_frame section">,
768HelpText<"Warn for each FDE that cannot compact into the __unwind_info section and must remain in …
772 HelpText<"Warn if the linked image contains weak external symbols">,
776 HelpText<"Fail if the linked image contains weak external symbols">,
780 HelpText<"Mark the Objective-C image as compatible with compacting garbage collection">,
784 HelpText<"Verify that all code was compiled with -fobjc-gc or -fobjc-gc-only">,
788 HelpText<"Verify that all code was compiled with -fobjc-gc-only">,
792 HelpText<"Remove dylibs that are unreachable by the entry point or exported symbols">,
795 HelpText<"Permit mixing objects compiled for different ARM CPU subtypes">,
799 HelpText<"Do not generate the LC_UUID load command">,
803 HelpText<"Set the MH_ROOT_SAFE bit in the mach-o header">,
807 HelpText<"Set the MH_SETUID_SAFE bit in the mach-o header">,
811 HelpText<"Indirects access to all to exported symbols in a dylib">,
816 HelpText<"Alias for -interposable">,
821 HelpText<"Run <symbol> as the first initializer in a dylib">,
826 HelpText<"Re-export the dylib as <name>">,
830 HelpText<"Re-export the framework as <name>">,
834 HelpText<"Specify <name> of a dylib or framework that is allowed to link to this dylib">,
839HelpText<"Specifies a <name> this client should match with the -allowable_client <name> in a depen…
844 HelpText<"Re-export this dylib through the umbrella framework <name>">,
848HelpText<"Allocate hex <size> extra space for future expansion of the load commands via install_na…
851HelpText<"Allocate extra space so all load-command paths can expand to MAXPATHLEN via install_name…
854 HelpText<"Tell dyld to bind all symbols at load time, rather than lazily">,
858HelpText<"Tell dyld to use a flat namespace on this executable and all its dependent dylibs & bund…
863 HelpText<"Align all segments to hex power-of-2 <boundary>">,
868 HelpText<"Align <section> within <segment> to hex power-of-2 <boundary>">,
872 HelpText<"Initialize stack pointer to hex <address> rounded to a page boundary">,
877HelpText<"Specifies the <max> and <init> virtual memory protection of <segment> as r/w/x/-seg_addr…
881 HelpText<"This option is obsolete">,
886 HelpText<"This option is obsolete">,
891 HelpText<"Specify the starting hex <address> at a 4KiB page boundary for <segment>">,
896HelpText<"Specifies the page <size> for <segment>. Segment size will be a multiple of its page siz…
901HelpText<"Specify <current_path> as different from where a dylib normally resides at <install_path…
906HelpText<"Resolve symbol imports of conflicting weakness according to <treatment> as weak, non-wea…
911HelpText<"Handle relocations that modify read-only pages according to <treatment> of warning, erro…
915HelpText<"Mark binary as runnable on any PowerPC, ignoring any PowerPC cpu requirements encoded in…
919 HelpText<"Suppresses warnings about inputs whose architecture does not match the -arch option">,
923HelpText<"Escalate to errors any warnings about inputs whose architecture does not match the -arch…
927 HelpText<"Make <symbol> the entry point of an executable (default is \"start\" from crt1.o)">,
930 HelpText<"Suppress all warnings">,
934HelpText<"Specify dylib install name if -install_name is not used; used by compiler driver for mul…
937 HelpText<"Augment error and warning messages with the architecture name">,
941HelpText<"Write a graph of symbol dependencies to <path> as a .dot file viewable with GraphViz">,
945HelpText<"Retain section-based relocation records in the output, which are ignored at runtime by d…
949 HelpText<"Warn when bad stab symbols inside a BINCL/EINCL prevent optimization">,
953HelpText<"Warn when a tentative definition in an object file matches an external symbol in a dylib…
957 HelpText<"On i386, make the __IMPORT segment of a final linked image read-only">,
962 HelpText<"Access global symbols listed in <path> indirectly">,
966 HelpText<"Do not create table of function start addresses">,
969 HelpText<"Do not merge Objective-C categories into their classes">,
974HelpText<"Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO">,
978 HelpText<"Use <path> as a directory for the incremental LTO cache">,
982 HelpText<"Prune the incremental LTO cache after <seconds> (-1 disables pruning)">,
986 HelpText<"Remove LTO cache entries after <seconds>">,
990 HelpText<"Limit the incremental LTO cache growth to <percent> of free disk, space">,
993HelpText<"Distribute global variables on separate pages so page used/dirty status can guide creati…
997 HelpText<"Prevent system dylibs from being placed into the dylib shared cache">,
1001 HelpText<"Options to pass to LLVM">,
1004 HelpText<"Processor family target for LTO code generation">,
1007 HelpText<"Disable dtrace-dof processing (default).">,
1010 HelpText<"Produce larger stubs for Objective-C method calls with fewer jumps (default).">,
1013 HelpText<"Produce smaller stubs for Objective-C method calls with more jumps.">,
1017 HelpText<"Specifies a LC_DYLD_ENVIRONMENT variable value pair.">,
1020 HelpText<"Ignore LC_LINKER_OPTIONs">,
1023 def grp_deprecated : OptionGroup<"deprecated">, HelpText<"DEPRECATED">;
1027 HelpText<"This option is deprecated and is now an alias for -framework.">,
1032 HelpText<"This option is deprecated and is now an alias for regular linking">,
1037 HelpText<"This option is deprecated and is now an alias for -l<path>.">,
1041 HelpText<"Unnecessary option: this is already the default">,
1045HelpText<"Unnecessary option: initialization and termination are roots of the dead strip graph, so…
1049 def grp_obsolete : OptionGroup<"obsolete">, HelpText<"OBSOLETE">;
1053 HelpText<"Obsolete. Replaced by more general -order_file option">,
1057 HelpText<"Obsolete. LLD supports LTO directly, without using an external dylib.">,
1061 HelpText<"This option is obsolete in ld64">,
1066 HelpText<"This option is obsolete in ld64">,
1070 HelpText<"This option is obsolete in ld64">,
1074 HelpText<"This option is obsolete in ld64">,
1078 HelpText<"This option is obsolete in ld64">,
1082 HelpText<"This option is obsolete in ld64">,
1086 HelpText<"This option is obsolete in ld64">,
1091 HelpText<"This option is obsolete in ld64">,
1096 HelpText<"This option is obsolete in ld64">,
1100 HelpText<"This option is obsolete in ld64">,
1104 HelpText<"This option is obsolete in ld64">,
1108 HelpText<"This option is obsolete in ld64">,
1112 HelpText<"This option is obsolete in ld64">,
1116 HelpText<"This option is obsolete in ld64">,
1120 HelpText<"This option is obsolete in ld64">,
1124 HelpText<"This option is obsolete in ld64">,
1129 HelpText<"This option is obsolete in ld64">,
1133 HelpText<"This option is obsolete in ld64">,
1138 HelpText<"This option is obsolete in ld64">,
1143 HelpText<"This option is obsolete in ld64">,
1147 HelpText<"This option is obsolete in ld64">,
1152 HelpText<"This option is obsolete in ld64">,
1156 HelpText<"This option is obsolete in ld64">,
1160 HelpText<"This option is obsolete in ld64">,
1164 HelpText<"This option is obsolete in ld64">,
1168 HelpText<"This option is obsolete in ld64">,
1172 HelpText<"This option is obsolete in ld64">,
1176 HelpText<"This option is obsolete in ld64">,
1180 HelpText<"This option is obsolete in ld64">,
1184 HelpText<"This option is obsolete in ld64">,
1188 HelpText<"This option is obsolete in ld64">,
1192 HelpText<"This option is obsolete in ld64">,
1196 HelpText<"This option is obsolete in ld64">,
1200 def grp_undocumented : OptionGroup<"undocumented">, HelpText<"UNDOCUMENTED">;
1203 HelpText<"This option is undocumented in ld64">,
1207 HelpText<"This option is undocumented in ld64">,
1211 HelpText<"This option is undocumented in ld64">,
1215 HelpText<"This option is undocumented in ld64">,
1219 HelpText<"This option is undocumented in ld64">,
1223 HelpText<"This option is undocumented in ld64">,
1227 HelpText<"This option is undocumented in ld64">,
1231 HelpText<"This option is undocumented in ld64">,
1235 HelpText<"This option is undocumented in ld64">,
1239 HelpText<"Emit data-in-code information (default)">,
1242 HelpText<"Do not emit data-in-code information">,
1245 HelpText<"This option is undocumented in ld64">,
1249 HelpText<"Demangle symbol names in diagnostics">;
1251 HelpText<"Generate the LC_ENCRYPTION_INFO load command">,
1254 HelpText<"Do not generate the LC_ENCRYPTION_INFO load command">,
1257 HelpText<"This option is undocumented in ld64">,
1261 HelpText<"Emit chained fixups">,
1264 HelpText<"Emit fixup information as classic dyld opcodes">,
1267 HelpText<"This option is undocumented in ld64">,
1271 HelpText<"This option is undocumented in ld64">,
1275 HelpText<"This option is undocumented in ld64">,
1279 HelpText<"This option is undocumented in ld64">,
1283 HelpText<"This option is undocumented in ld64">,
1287 HelpText<"This option is undocumented in ld64">,
1291 HelpText<"This option is undocumented in ld64">,
1295 HelpText<"Create table of function start addresses (default)">,
1298 HelpText<"This option is undocumented in ld64">,
1302 HelpText<"Ignore Linker Optimization Hints">,
1305 HelpText<"Store __TEXT segment offsets of static initializers">,
1308 HelpText<"This option is undocumented in ld64">,
1312 HelpText<"This option is undocumented in ld64">,
1316 HelpText<"This option is undocumented in ld64">,
1320 HelpText<"This option is undocumented in ld64">,
1324 HelpText<"This option is undocumented in ld64">,
1328 HelpText<"This option is undocumented in ld64">,
1332 HelpText<"This option is undocumented in ld64">,
1336 HelpText<"This option is undocumented in ld64">,
1340 HelpText<"This option is undocumented in ld64">,
1344 HelpText<"This option is undocumented in ld64">,
1348 HelpText<"This option is undocumented in ld64">,
1352 HelpText<"This option is undocumented in ld64">,
1356 HelpText<"This option is undocumented in ld64">,
1360 HelpText<"This option is undocumented in ld64">,
1364 HelpText<"This option is undocumented in ld64">,
1368 HelpText<"This option is undocumented in ld64">,
1372 def grp_ignored : OptionGroup<"ignored">, HelpText<"IGNORED">;
1375 HelpText<"This option is ignored in ld64">,
1379 HelpText<"This option is ignored in ld64">,
1383 def grp_ignored_silently : OptionGroup<"ignored_silently">, HelpText<"IGNORED SILENTLY">;
1386 HelpText<"This option only applies to i386 in ld64">,