| 1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
| 2 | |* *| |
| 3 | |* Option Parsing Definitions *| |
| 4 | |* *| |
| 5 | |* Automatically generated file, do not edit! *| |
| 6 | |* *| |
| 7 | \*===----------------------------------------------------------------------===*/ |
| 8 | |
| 9 | ///////// |
| 10 | // String table |
| 11 | |
| 12 | #ifdef OPTTABLE_STR_TABLE_CODE |
| 13 | |
| 14 | #ifdef __GNUC__ |
| 15 | #pragma GCC diagnostic push |
| 16 | #pragma GCC diagnostic ignored "-Woverlength-strings" |
| 17 | #endif |
| 18 | static constexpr char OptionStrTableStorage[] = |
| 19 | "\0" |
| 20 | "-\0" |
| 21 | "--\0" |
| 22 | "bundle\0" |
| 23 | "content\0" |
| 24 | "deprecated\0" |
| 25 | "dylib\0" |
| 26 | "ignored\0" |
| 27 | "ignored_silently\0" |
| 28 | "introspect\0" |
| 29 | "kind\0" |
| 30 | "libs\0" |
| 31 | "main\0" |
| 32 | "object\0" |
| 33 | "obsolete\0" |
| 34 | "opts\0" |
| 35 | "rare\0" |
| 36 | "resolve\0" |
| 37 | "symtab\0" |
| 38 | "undocumented\0" |
| 39 | "version\0" |
| 40 | "<input>\0" |
| 41 | "<unknown>\0" |
| 42 | "-add_ast_path\0" |
| 43 | "-add_empty_section\0" |
| 44 | "-add_linker_option\0" |
| 45 | "-add_source_version\0" |
| 46 | "-add_split_seg_info\0" |
| 47 | "-adhoc_codesign\0" |
| 48 | "-alias_list\0" |
| 49 | "-alias\0" |
| 50 | "-all_load\0" |
| 51 | "-allow_dead_duplicates\0" |
| 52 | "-allow_heap_execute\0" |
| 53 | "-allow_simulator_linking_to_macosx_dylibs\0" |
| 54 | "-allow_stack_execute\0" |
| 55 | "-allow_sub_type_mismatches\0" |
| 56 | "-allowable_client\0" |
| 57 | "-application_extension\0" |
| 58 | "-arch_errors_fatal\0" |
| 59 | "-arch_multiple\0" |
| 60 | "-arch\0" |
| 61 | "-A\0" |
| 62 | "-bind_at_load\0" |
| 63 | "-bitcode_bundle\0" |
| 64 | "-bitcode_hide_symbols\0" |
| 65 | "-bitcode_process_mode\0" |
| 66 | "-bitcode_symbol_map\0" |
| 67 | "-bitcode_verify\0" |
| 68 | "--bp-compression-sort-startup-functions\0" |
| 69 | "--bp-compression-sort=\0" |
| 70 | "--bp-startup-sort=\0" |
| 71 | "-bridgeos_version_min\0" |
| 72 | "-bundle_loader\0" |
| 73 | "-bundle\0" |
| 74 | "-b\0" |
| 75 | "-cache_path_lto\0" |
| 76 | "--call-graph-profile-sort\0" |
| 77 | "--check-category-conflicts\0" |
| 78 | "-classic_linker\0" |
| 79 | "-client_name\0" |
| 80 | "--codegen-data-generate-path=\0" |
| 81 | "--codegen-data-generate-path\0" |
| 82 | "--color-diagnostics=\0" |
| 83 | "--color-diagnostics\0" |
| 84 | "-commons\0" |
| 85 | "-compatibility_version\0" |
| 86 | "--compression-sort-startup-functions\0" |
| 87 | "--compression-sort=\0" |
| 88 | "--cs-profile-generate\0" |
| 89 | "--cs-profile-path=\0" |
| 90 | "-current_version\0" |
| 91 | "-data_const\0" |
| 92 | "-data_in_code_info\0" |
| 93 | "--dead-strip-duplicates\0" |
| 94 | "-dead_strip_dylibs\0" |
| 95 | "-dead_strip\0" |
| 96 | "-debug_snapshot\0" |
| 97 | "-debug_variant\0" |
| 98 | "--deduplicate-strings\0" |
| 99 | "-demangle\0" |
| 100 | "-dependency_info\0" |
| 101 | "-dependent_dr_info\0" |
| 102 | "-dirty_data_list\0" |
| 103 | "--disable_verify\0" |
| 104 | "-dot\0" |
| 105 | "-driverkit_version_min\0" |
| 106 | "-dtrace\0" |
| 107 | "-dyld_env\0" |
| 108 | "-dylib_compatibility_version\0" |
| 109 | "-dylib_current_version\0" |
| 110 | "-dylib_file\0" |
| 111 | "-dylib_install_name\0" |
| 112 | "-dylib\0" |
| 113 | "-dylinker_install_name\0" |
| 114 | "-dylinker\0" |
| 115 | "-dynamic\0" |
| 116 | "-d\0" |
| 117 | "-encryptable\0" |
| 118 | "--end-lib\0" |
| 119 | "--error-limit=\0" |
| 120 | "-executable_path\0" |
| 121 | "-execute\0" |
| 122 | "-export_dynamic\0" |
| 123 | "-exported_symbols_list\0" |
| 124 | "-exported_symbols_order\0" |
| 125 | "-exported_symbol\0" |
| 126 | "-e\0" |
| 127 | "-fatal_warnings\0" |
| 128 | "-filelist\0" |
| 129 | "-final_output\0" |
| 130 | "-fixup_chains_section\0" |
| 131 | "-fixup_chains\0" |
| 132 | "-flat_namespace\0" |
| 133 | "-flto-codegen-only\0" |
| 134 | "-force_cpusubtype_ALL\0" |
| 135 | "-force_flat_namespace\0" |
| 136 | "-force_load_swift_libs\0" |
| 137 | "-force_load\0" |
| 138 | "-force_symbol_not_weak\0" |
| 139 | "-force_symbol_weak\0" |
| 140 | "-force_symbols_coalesce_list\0" |
| 141 | "-force_symbols_not_weak_list\0" |
| 142 | "-force_symbols_weak_list\0" |
| 143 | "-framework\0" |
| 144 | "-function_starts\0" |
| 145 | "-fvmlib\0" |
| 146 | "-F\0" |
| 147 | "-headerpad_max_install_names\0" |
| 148 | "-headerpad\0" |
| 149 | "--help-hidden\0" |
| 150 | "-help\0" |
| 151 | "-hidden-l\0" |
| 152 | "--icf=\0" |
| 153 | "--ignore-auto-link-option=\0" |
| 154 | "--ignore-auto-link-option\0" |
| 155 | "-ignore_auto_link\0" |
| 156 | "-ignore_optimization_hints\0" |
| 157 | "-image_base\0" |
| 158 | "-init_offsets\0" |
| 159 | "-init\0" |
| 160 | "-install_name\0" |
| 161 | "-interposable_list\0" |
| 162 | "-interposable\0" |
| 163 | "-ios_simulator_version_min\0" |
| 164 | "-ios_version_min\0" |
| 165 | "-iosmac_version_min\0" |
| 166 | "-iphoneos_version_min\0" |
| 167 | "--irpgo-profile-sort=\0" |
| 168 | "--irpgo-profile-sort\0" |
| 169 | "--irpgo-profile=\0" |
| 170 | "--irpgo-profile\0" |
| 171 | "-i\0" |
| 172 | "--keep-icf-stabs\0" |
| 173 | "-keep_dwarf_unwind\0" |
| 174 | "-keep_private_externs\0" |
| 175 | "-keep_relocs\0" |
| 176 | "-kext_objects_dir\0" |
| 177 | "-kexts_use_stubs\0" |
| 178 | "-kext\0" |
| 179 | "-lazy-l\0" |
| 180 | "-lazy_framework\0" |
| 181 | "-lazy_library\0" |
| 182 | "--load-pass-plugin=\0" |
| 183 | "--load-pass-plugin\0" |
| 184 | "-load_hidden\0" |
| 185 | "--lto-CGO\0" |
| 186 | "--lto-debug-pass-manager\0" |
| 187 | "--lto-emit-llvm\0" |
| 188 | "--lto-newpm-passes=\0" |
| 189 | "--lto-O\0" |
| 190 | "-lto_library\0" |
| 191 | "-L\0" |
| 192 | "-l\0" |
| 193 | "-maccatalyst_version_min\0" |
| 194 | "-macos_version_min\0" |
| 195 | "-macosx_version_min\0" |
| 196 | "-map\0" |
| 197 | "-mark_dead_strippable_dylib\0" |
| 198 | "-max_default_common_align\0" |
| 199 | "-max_relative_cache_size_lto\0" |
| 200 | "-mcpu\0" |
| 201 | "-merge_zero_fill_sections\0" |
| 202 | "-mllvm\0" |
| 203 | "-move_to_ro_segment\0" |
| 204 | "-move_to_rw_segment\0" |
| 205 | "-multi_module\0" |
| 206 | "-multiply_defined_unused\0" |
| 207 | "-multiply_defined\0" |
| 208 | "-M\0" |
| 209 | "-m\0" |
| 210 | "-needed-l\0" |
| 211 | "-needed_framework\0" |
| 212 | "-needed_library\0" |
| 213 | "-new_linker\0" |
| 214 | "--no-bp-compression-sort-startup-functions\0" |
| 215 | "--no-call-graph-profile-sort\0" |
| 216 | "--no-color-diagnostics\0" |
| 217 | "--no-compression-sort-startup-functions\0" |
| 218 | "--no-deduplicate-strings\0" |
| 219 | "-no-deduplicate-symbol-strings\0" |
| 220 | "--no-pgo-warn-mismatch\0" |
| 221 | "--no-separate-cstring-literal-sections\0" |
| 222 | "--no-tail-merge-strings\0" |
| 223 | "--no-warn-duplicate-rpath\0" |
| 224 | "--no-warn-dylib-install-name\0" |
| 225 | "--no-warn-thin-archive-missing-members\0" |
| 226 | "-no_adhoc_codesign\0" |
| 227 | "-no_application_extension\0" |
| 228 | "-no_arch_warnings\0" |
| 229 | "-no_branch_islands\0" |
| 230 | "-no_compact_linkedit\0" |
| 231 | "-no_compact_unwind\0" |
| 232 | "-no_data_const\0" |
| 233 | "-no_data_in_code_info\0" |
| 234 | "-no_dead_strip_inits_and_terms\0" |
| 235 | "-no_deduplicate\0" |
| 236 | "-no_dependent_dr_info\0" |
| 237 | "-no_dtrace_dof\0" |
| 238 | "-no_eh_labels\0" |
| 239 | "-no_encryption\0" |
| 240 | "-no_exported_symbols\0" |
| 241 | "-no_fixup_chains\0" |
| 242 | "-no_function_starts\0" |
| 243 | "-no_implicit_dylibs\0" |
| 244 | "-no_inits\0" |
| 245 | "-no_keep_dwarf_unwind\0" |
| 246 | "-no_kext_objects\0" |
| 247 | "-no_new_main\0" |
| 248 | "-no_objc_category_merging\0" |
| 249 | "-no_objc_relative_method_lists\0" |
| 250 | "-no_order_data\0" |
| 251 | "-no_order_inits\0" |
| 252 | "-no_pie\0" |
| 253 | "-no_source_version\0" |
| 254 | "-no_uuid\0" |
| 255 | "-no_warn_duplicate_libraries\0" |
| 256 | "-no_warn_inits\0" |
| 257 | "-no_weak_exports\0" |
| 258 | "-no_weak_imports\0" |
| 259 | "-no_zero_fill_sections\0" |
| 260 | "-noall_load\0" |
| 261 | "-nofixprebinding\0" |
| 262 | "-nomultidefs\0" |
| 263 | "-non_global_symbols_no_strip_list\0" |
| 264 | "-non_global_symbols_strip_list\0" |
| 265 | "-noprebind_all_twolevel_modules\0" |
| 266 | "-noprebind\0" |
| 267 | "-noseglinkedit\0" |
| 268 | "-not_for_dyld_shared_cache\0" |
| 269 | "-objc_abi_version\0" |
| 270 | "-objc_category_merging\0" |
| 271 | "-objc_gc_compaction\0" |
| 272 | "-objc_gc_only\0" |
| 273 | "-objc_gc\0" |
| 274 | "-objc_relative_method_lists\0" |
| 275 | "-objc_stubs_fast\0" |
| 276 | "-objc_stubs_small\0" |
| 277 | "-ObjC\0" |
| 278 | "-object_path_lto\0" |
| 279 | "-order_file_statistics\0" |
| 280 | "-order_file\0" |
| 281 | "-oso_prefix\0" |
| 282 | "-O\0" |
| 283 | "-o\0" |
| 284 | "-page_align_data_atoms\0" |
| 285 | "-pagezero_size\0" |
| 286 | "-pause\0" |
| 287 | "--pgo-warn-mismatch\0" |
| 288 | "-pie\0" |
| 289 | "-platform_version\0" |
| 290 | "-prebind_all_twolevel_modules\0" |
| 291 | "-prebind_allow_overlap\0" |
| 292 | "-prebind\0" |
| 293 | "-preload\0" |
| 294 | "--print-dylib-search\0" |
| 295 | "--print-symbol-order=\0" |
| 296 | "-print_statistics\0" |
| 297 | "-private_bundle\0" |
| 298 | "-prune_after_lto\0" |
| 299 | "-prune_interval_lto\0" |
| 300 | "-random_uuid\0" |
| 301 | "--read-workers=\0" |
| 302 | "-read_only_relocs\0" |
| 303 | "-read_only_stubs\0" |
| 304 | "-reexport-l\0" |
| 305 | "-reexport_framework\0" |
| 306 | "-reexport_library\0" |
| 307 | "-reexported_symbols_list\0" |
| 308 | "-rename_section\0" |
| 309 | "-rename_segment\0" |
| 310 | "--reproduce=\0" |
| 311 | "--reproduce\0" |
| 312 | "-reproducible\0" |
| 313 | "-root_safe\0" |
| 314 | "-rpath\0" |
| 315 | "-run_init_lazily\0" |
| 316 | "-r\0" |
| 317 | "-save-temps\0" |
| 318 | "-sdk_version\0" |
| 319 | "-search_dylibs_first\0" |
| 320 | "-search_paths_first\0" |
| 321 | "-sect_diff_relocs\0" |
| 322 | "-sectalign\0" |
| 323 | "-sectcreate\0" |
| 324 | "-section_order\0" |
| 325 | "-sectobjectsymbols\0" |
| 326 | "-sectorder_detail\0" |
| 327 | "-sectorder\0" |
| 328 | "-seg1addr\0" |
| 329 | "-seg_addr_table_filename\0" |
| 330 | "-seg_page_size\0" |
| 331 | "-segaddr\0" |
| 332 | "-segalign\0" |
| 333 | "-segcreate\0" |
| 334 | "-seglinkedit\0" |
| 335 | "-segment_order\0" |
| 336 | "-segprot\0" |
| 337 | "-segs_read_only_addr\0" |
| 338 | "-segs_read_write_addr\0" |
| 339 | "--separate-cstring-literal-sections\0" |
| 340 | "-setuid_safe\0" |
| 341 | "-simulator_support\0" |
| 342 | "-single_module\0" |
| 343 | "-Si\0" |
| 344 | "--slop_scale=\0" |
| 345 | "-slow_stubs\0" |
| 346 | "-snapshot_dir\0" |
| 347 | "-Sn\0" |
| 348 | "-source_version\0" |
| 349 | "-Sp\0" |
| 350 | "-stack_addr\0" |
| 351 | "-stack_size\0" |
| 352 | "--start-lib\0" |
| 353 | "-static\0" |
| 354 | "--strict-auto-link\0" |
| 355 | "-sub_library\0" |
| 356 | "-sub_umbrella\0" |
| 357 | "-syslibroot\0" |
| 358 | "-S\0" |
| 359 | "-s\0" |
| 360 | "--tail-merge-strings\0" |
| 361 | "-text_exec\0" |
| 362 | "--thinlto-cache-policy=\0" |
| 363 | "--thinlto-emit-imports-files\0" |
| 364 | "--thinlto-emit-index-files\0" |
| 365 | "--thinlto-index-only=\0" |
| 366 | "--thinlto-index-only\0" |
| 367 | "--thinlto-jobs=\0" |
| 368 | "--thinlto-object-suffix-replace=\0" |
| 369 | "--thinlto-prefix-replace=\0" |
| 370 | "-threaded_starts_section\0" |
| 371 | "--threads=\0" |
| 372 | "--time-trace-granularity=\0" |
| 373 | "--time-trace=\0" |
| 374 | "--time-trace\0" |
| 375 | "-trace_symbol_layout\0" |
| 376 | "-tvos_version_min\0" |
| 377 | "-twolevel_namespace_hints\0" |
| 378 | "-twolevel_namespace\0" |
| 379 | "-t\0" |
| 380 | "-uikitformac_version_min\0" |
| 381 | "-umbrella\0" |
| 382 | "-unaligned_pointers\0" |
| 383 | "-undefined\0" |
| 384 | "-unexported_symbols_list\0" |
| 385 | "-unexported_symbol\0" |
| 386 | "-upward-l\0" |
| 387 | "-upward_framework\0" |
| 388 | "-upward_library\0" |
| 389 | "-U\0" |
| 390 | "-u\0" |
| 391 | "--verbose-bp-section-orderer\0" |
| 392 | "-verbose_deduplicate\0" |
| 393 | "-verbose_optimization_hints\0" |
| 394 | "--verbose\0" |
| 395 | "-version_details\0" |
| 396 | "-version_load_command\0" |
| 397 | "--version\0" |
| 398 | "-v\0" |
| 399 | "--warn-duplicate-rpath\0" |
| 400 | "--warn-dylib-install-name\0" |
| 401 | "--warn-thin-archive-missing-members\0" |
| 402 | "-warn_commons\0" |
| 403 | "-warn_compact_unwind\0" |
| 404 | "-warn_stabs\0" |
| 405 | "-warn_weak_exports\0" |
| 406 | "-watchos_version_min\0" |
| 407 | "-weak-l\0" |
| 408 | "-weak_framework\0" |
| 409 | "-weak_library\0" |
| 410 | "-weak_reference_mismatches\0" |
| 411 | "-whatsloaded\0" |
| 412 | "-why_live\0" |
| 413 | "-why_load\0" |
| 414 | "-whyload\0" |
| 415 | "-w\0" |
| 416 | "-X\0" |
| 417 | "-x\0" |
| 418 | "-Y\0" |
| 419 | "-y\0" |
| 420 | "-Z\0" |
| 421 | ; |
| 422 | #ifdef __GNUC__ |
| 423 | #pragma GCC diagnostic pop |
| 424 | #endif |
| 425 | |
| 426 | static constexpr llvm::StringTable |
| 427 | OptionStrTable = OptionStrTableStorage; |
| 428 | #endif // OPTTABLE_STR_TABLE_CODE |
| 429 | |
| 430 | ///////// |
| 431 | // Prefixes |
| 432 | |
| 433 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 434 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 435 | 0 /* prefixes */, |
| 436 | 1 /* prefixes */, 1 /* '-' */, |
| 437 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */, |
| 438 | 1 /* prefixes */, 3 /* '--' */ |
| 439 | }; |
| 440 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 441 | |
| 442 | /////////// SubCommand IDs |
| 443 | |
| 444 | #ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 445 | static constexpr unsigned OptionSubCommandIDsTable[] = { |
| 446 | 0 /* subcommands */ |
| 447 | }; |
| 448 | #endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 449 | |
| 450 | ///////// |
| 451 | // Prefix Union |
| 452 | |
| 453 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 454 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 455 | 1 /* '-' */, 3 /* '--' */ |
| 456 | }; |
| 457 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 458 | |
| 459 | ///////// |
| 460 | // ValuesCode |
| 461 | |
| 462 | #ifdef OPTTABLE_VALUES_CODE |
| 463 | #endif |
| 464 | ///////// |
| 465 | // Groups |
| 466 | |
| 467 | #ifdef OPTION |
| 468 | OPTION(0 /* no prefixes */, 6 /* bundle */, grp_bundle, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 469 | "CREATING A BUNDLE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 470 | OPTION(0 /* no prefixes */, 13 /* content */, grp_content, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 471 | "ADDITIONAL CONTENT" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 472 | OPTION(0 /* no prefixes */, 21 /* deprecated */, grp_deprecated, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 473 | "DEPRECATED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 474 | OPTION(0 /* no prefixes */, 32 /* dylib */, grp_dylib, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 475 | "DYNAMIC LIBRARIES (DYLIB)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 476 | OPTION(0 /* no prefixes */, 38 /* ignored */, grp_ignored, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 477 | "IGNORED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 478 | OPTION(0 /* no prefixes */, 46 /* ignored_silently */, grp_ignored_silently, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 479 | "IGNORED SILENTLY" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 480 | OPTION(0 /* no prefixes */, 63 /* introspect */, grp_introspect, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 481 | "INTROSPECTING THE LINKER" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 482 | OPTION(0 /* no prefixes */, 74 /* kind */, grp_kind, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 483 | "OUTPUT KIND" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 484 | OPTION(0 /* no prefixes */, 79 /* libs */, grp_libs, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 485 | "LIBRARIES" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 486 | OPTION(0 /* no prefixes */, 74 /* kind */, grp_lld, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 487 | "LLD-SPECIFIC" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 488 | OPTION(0 /* no prefixes */, 84 /* main */, grp_main, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 489 | "MAIN EXECUTABLE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 490 | OPTION(0 /* no prefixes */, 89 /* object */, grp_object, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 491 | "CREATING AN OBJECT FILE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 492 | OPTION(0 /* no prefixes */, 96 /* obsolete */, grp_obsolete, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 493 | "OBSOLETE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 494 | OPTION(0 /* no prefixes */, 105 /* opts */, grp_opts, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 495 | "OPTIMIZATIONS" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 496 | OPTION(0 /* no prefixes */, 110 /* rare */, grp_rare, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 497 | "RARELY USED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 498 | OPTION(0 /* no prefixes */, 115 /* resolve */, grp_resolve, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 499 | "SYMBOL RESOLUTION" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 500 | OPTION(0 /* no prefixes */, 123 /* symtab */, grp_symtab, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 501 | "SYMBOL TABLE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 502 | OPTION(0 /* no prefixes */, 130 /* undocumented */, grp_undocumented, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 503 | "UNDOCUMENTED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 504 | OPTION(0 /* no prefixes */, 143 /* version */, grp_version, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 505 | "VERSION TARGETING" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 506 | |
| 507 | ////////// |
| 508 | // Options |
| 509 | |
| 510 | OPTION(0, 151 /* <input> */, INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 511 | OPTION(0, 159 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 512 | OPTION(1, 169 /* -add_ast_path */, add_ast_path, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 513 | "AST paths will be emitted as STABS" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 514 | OPTION(1, 183 /* -add_empty_section */, add_empty_section, MultiArg, grp_content, INVALID, nullptr, 0, DefaultVis, 2, |
| 515 | "Create an empty <section> in <segment>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <section>" , nullptr, 0) |
| 516 | OPTION(1, 202 /* -add_linker_option */, add_linker_option, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 517 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 518 | OPTION(1, 221 /* -add_source_version */, add_source_version, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 519 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 520 | OPTION(1, 241 /* -add_split_seg_info */, add_split_seg_info, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 521 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 522 | OPTION(1, 261 /* -adhoc_codesign */, adhoc_codesign, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 523 | "Write an ad-hoc code signature to the output file (default for arm64 binaries)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 524 | OPTION(1, 277 /* -alias_list */, alias_list, Separate, grp_resolve, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 525 | "Create symbol aliases specified in <file>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 526 | OPTION(1, 289 /* -alias */, alias, MultiArg, grp_resolve, INVALID, nullptr, 0, DefaultVis, 2, |
| 527 | "Create a symbol alias with default global visibility" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol_name> <alternate_name>" , nullptr, 0) |
| 528 | OPTION(1, 296 /* -all_load */, all_load, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 529 | "Load all members of all static archive libraries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 530 | OPTION(1, 306 /* -allow_dead_duplicates */, allow_dead_duplicates, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 531 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 532 | OPTION(1, 329 /* -allow_heap_execute */, allow_heap_execute, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 533 | "On i386, allow any page to execute code" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 534 | OPTION(1, 349 /* -allow_simulator_linking_to_macosx_dylibs */, allow_simulator_linking_to_macosx_dylibs, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 535 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 536 | OPTION(1, 391 /* -allow_stack_execute */, allow_stack_execute, Flag, grp_main, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 537 | "Mark stack segment as executable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 538 | OPTION(1, 412 /* -allow_sub_type_mismatches */, allow_sub_type_mismatches, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 539 | "Permit mixing objects compiled for different ARM CPU subtypes" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 540 | OPTION(1, 439 /* -allowable_client */, allowable_client, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 541 | "Specify <name> of a dylib, framework, or executable that is allowed to link to this dylib" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 542 | OPTION(1, 457 /* -application_extension */, application_extension, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 543 | "Mark output as safe for use in an application extension, and validate that linked dylibs are safe" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 544 | OPTION(1, 480 /* -arch_errors_fatal */, arch_errors_fatal, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 545 | "Escalate to errors any warnings about inputs whose architecture does not match the -arch option" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 546 | OPTION(1, 499 /* -arch_multiple */, arch_multiple, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 547 | "Augment error and warning messages with the architecture name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 548 | OPTION(1, 514 /* -arch */, arch, Separate, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 549 | "The architecture (e.g. ppc, ppc64, i386, x86_64)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<arch_name>" , nullptr, 0) |
| 550 | OPTION(1, 520 /* -A */, A, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 551 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<basefile>" , nullptr, 0) |
| 552 | OPTION(1, 523 /* -bind_at_load */, bind_at_load, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 553 | "Tell dyld to bind all symbols at load time, rather than lazily" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 554 | OPTION(1, 537 /* -bitcode_bundle */, bitcode_bundle, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 555 | "Obsolete since the App Store no longer supports binaries with embedded bitcode" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 556 | OPTION(1, 553 /* -bitcode_hide_symbols */, bitcode_hide_symbols, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 557 | "Obsolete since the App Store no longer supports binaries with embedded bitcode" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 558 | OPTION(1, 575 /* -bitcode_process_mode */, bitcode_process_mode, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 559 | "Obsolete since the App Store no longer supports binaries with embedded bitcode" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 560 | OPTION(1, 597 /* -bitcode_symbol_map */, bitcode_symbol_map, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 561 | "Obsolete since the App Store no longer supports binaries with embedded bitcode" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 562 | OPTION(1, 617 /* -bitcode_verify */, bitcode_verify, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 563 | "Obsolete since the App Store no longer supports binaries with embedded bitcode" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 564 | OPTION(6, 633 /* --bp-compression-sort-startup-functions */, bp_compression_sort_startup_functions, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 565 | "Order startup functions to improve compressed size in addition to startup time" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 566 | OPTION(6, 673 /* --bp-compression-sort= */, bp_compression_sort, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 567 | "Order sections to improve compressed size" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[none,function,data,both]" , nullptr, 0) |
| 568 | OPTION(6, 696 /* --bp-startup-sort= */, bp_startup_sort, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 569 | "Order sections based on profile data to improve startup time" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[none,function]" , nullptr, 0) |
| 570 | OPTION(1, 715 /* -bridgeos_version_min */, bridgeos_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 571 | "Oldest bridgeOS version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 572 | OPTION(1, 737 /* -bundle_loader */, bundle_loader, Separate, grp_bundle, INVALID, nullptr, 0, DefaultVis, 0, |
| 573 | "Resolve undefined symbols from <executable>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<executable>" , nullptr, 0) |
| 574 | OPTION(1, 752 /* -bundle */, bundle, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 575 | "Produce a bundle" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 576 | OPTION(1, 760 /* -b */, b, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 577 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 578 | OPTION(1, 763 /* -cache_path_lto */, cache_path_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 579 | "Use <path> as a directory for the incremental LTO cache" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 580 | OPTION(6, 779 /* --call-graph-profile-sort */, call_graph_profile_sort, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 581 | "Reorder sections with call graph profile (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 582 | OPTION(6, 805 /* --check-category-conflicts */, check_category_conflicts, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 583 | "Check for conflicts between category & class methods" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 584 | OPTION(1, 832 /* -classic_linker */, classic_linker, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 585 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 586 | OPTION(1, 848 /* -client_name */, client_name, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 587 | "Specifies a <name> this client should match with the -allowable_client <name> in an explicitly linked dylib" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 588 | OPTION(6, 861 /* --codegen-data-generate-path= */, codegen_data_generate_path_eq, Joined, grp_lld, codegen_data_generate_path, nullptr, 0, DefaultVis, 0, |
| 589 | "Write the CG data to the specified path <cgdata>." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<cgdata>" , nullptr, 0) |
| 590 | OPTION(6, 891 /* --codegen-data-generate-path */, codegen_data_generate_path, Separate, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 591 | OPTION(6, 920 /* --color-diagnostics= */, color_diagnostics_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 592 | "Use colors in diagnostics (default: auto)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[auto,always,never]" , nullptr, 0) |
| 593 | OPTION(6, 941 /* --color-diagnostics */, color_diagnostics, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 594 | "Alias for --color-diagnostics=always" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 595 | OPTION(1, 961 /* -commons */, commons, Separate, grp_resolve, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 596 | "Resolve tentative definitions in dylibs according to <treatment>: ignore_dylibs, use_dylibs, error (default is ignore_dylibs)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 597 | OPTION(1, 970 /* -compatibility_version */, compatibility_version, Separate, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 598 | "Compatibility <version> of this library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 599 | OPTION(6, 993 /* --compression-sort-startup-functions */, compression_sort_startup_functions, Flag, grp_lld, bp_compression_sort_startup_functions, nullptr, 0, DefaultVis, 0, |
| 600 | "Deprecated. Please use --bp-compression-sort-startup-functions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 601 | OPTION(6, 1030 /* --compression-sort= */, compression_sort, Joined, grp_lld, bp_compression_sort, nullptr, 0, DefaultVis, 0, |
| 602 | "Deprecated. Please use --bp-compression-sort=" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[none,function,data,both]" , nullptr, 0) |
| 603 | OPTION(6, 1050 /* --cs-profile-generate */, cs_profile_generate, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 604 | "Perform context sensitive PGO instrumentation" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 605 | OPTION(6, 1072 /* --cs-profile-path= */, cs_profile_path, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 606 | "Context sensitive profile file path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 607 | OPTION(1, 1091 /* -current_version */, current_version, Separate, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 608 | "Current <version> of this library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 609 | OPTION(1, 1108 /* -data_const */, data_const, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 610 | "Force migration of readonly data into __DATA_CONST segment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 611 | OPTION(1, 1120 /* -data_in_code_info */, data_in_code_info, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 612 | "Emit data-in-code information (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 613 | OPTION(6, 1139 /* --dead-strip-duplicates */, dead_strip_duplicates, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 614 | "Do not error on duplicate symbols that will be dead stripped." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 615 | OPTION(1, 1163 /* -dead_strip_dylibs */, dead_strip_dylibs, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 616 | "Remove dylibs that are unreachable by the entry point or exported symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 617 | OPTION(1, 1182 /* -dead_strip */, dead_strip, Flag, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 618 | "Remove unreachable functions and data" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 619 | OPTION(1, 1194 /* -debug_snapshot */, debug_snapshot, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 620 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 621 | OPTION(1, 1210 /* -debug_variant */, debug_variant, Flag, grp_ignored_silently, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 622 | "Do not warn about issues that are only problems for binaries shipping to customers." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 623 | OPTION(6, 1225 /* --deduplicate-strings */, deduplicate_strings, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 624 | "Enable string deduplication" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 625 | OPTION(1, 1247 /* -demangle */, demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 626 | "Demangle symbol names in diagnostics" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 627 | OPTION(1, 1257 /* -dependency_info */, dependency_info, Separate, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 628 | "Dump dependency info" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 629 | OPTION(1, 1274 /* -dependent_dr_info */, dependent_dr_info, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 630 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 631 | OPTION(1, 1293 /* -dirty_data_list */, dirty_data_list, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 632 | "Specify data symbols in <path> destined for the __DATA_DIRTY segment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 633 | OPTION(6, 1310 /* --disable_verify */, disable_verify, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 634 | "Do not verify LLVM modules during LTO" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 635 | OPTION(1, 1327 /* -dot */, dot, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 636 | "Write a graph of symbol dependencies to <path> as a .dot file viewable with GraphViz" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 637 | OPTION(1, 1332 /* -driverkit_version_min */, driverkit_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 638 | "Oldest DriverKit version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 639 | OPTION(1, 1355 /* -dtrace */, dtrace, Separate, grp_content, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 640 | "Enable DTrace static probes according to declarations in <script>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<script>" , nullptr, 0) |
| 641 | OPTION(1, 1363 /* -dyld_env */, dyld_env, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 642 | "Specifies a LC_DYLD_ENVIRONMENT variable value pair." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<dyld_env_var>" , nullptr, 0) |
| 643 | OPTION(1, 1373 /* -dylib_compatibility_version */, dylib_compatibility_version, Separate, grp_dylib, compatibility_version, nullptr, HelpHidden, DefaultVis, 0, |
| 644 | "Alias for -compatibility_version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 645 | OPTION(1, 1402 /* -dylib_current_version */, dylib_current_version, Separate, grp_dylib, current_version, nullptr, HelpHidden, DefaultVis, 0, |
| 646 | "Alias for -current_version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 647 | OPTION(1, 1425 /* -dylib_file */, dylib_file, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 648 | "Specify <current_path> as different from where a dylib normally resides at <install_path>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<install_path:current_path>" , nullptr, 0) |
| 649 | OPTION(1, 1437 /* -dylib_install_name */, dylib_install_name, Separate, grp_dylib, install_name, nullptr, 0, DefaultVis, 0, |
| 650 | "Alias for -install_name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 651 | OPTION(1, 1457 /* -dylib */, dylib, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 652 | "Produce a shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 653 | OPTION(1, 1464 /* -dylinker_install_name */, dylinker_install_name, Separate, grp_dylib, install_name, nullptr, 0, DefaultVis, 0, |
| 654 | "Alias for -install_name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 655 | OPTION(1, 1487 /* -dylinker */, dylinker, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 656 | "Produce a dylinker only used when building dyld" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 657 | OPTION(1, 1497 /* -dynamic */, dynamic, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 658 | "Link dynamically (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 659 | OPTION(1, 1506 /* -d */, d, Flag, grp_object, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 660 | "Force tentative into real definitions for common symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 661 | OPTION(1, 1509 /* -encryptable */, encryptable, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 662 | "Generate the LC_ENCRYPTION_INFO load command" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 663 | OPTION(6, 1522 /* --end-lib */, end_lib, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 664 | "End a grouping of objects that should be treated as if they were together in an archive" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 665 | OPTION(6, 1532 /* --error-limit= */, error_limit_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 666 | "Maximum number of errors to print before exiting (default: 20)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 667 | OPTION(1, 1547 /* -executable_path */, executable_path, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 668 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 669 | OPTION(1, 1564 /* -execute */, execute, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 670 | "Produce a main executable (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 671 | OPTION(1, 1573 /* -export_dynamic */, export_dynamic, Flag, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 672 | "Preserve all global symbols during LTO and when dead-stripping executables" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 673 | OPTION(1, 1589 /* -exported_symbols_list */, exported_symbols_list, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 674 | "Symbols specified in <file> remain global, while others become private externs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 675 | OPTION(1, 1612 /* -exported_symbols_order */, exported_symbols_order, Separate, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 676 | "Specify frequently-used symbols in <file> to optimize symbol exports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 677 | OPTION(1, 1636 /* -exported_symbol */, exported_symbol, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 678 | "<symbol> remains global, while others become private externs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 679 | OPTION(1, 1653 /* -e */, e, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 680 | "Make <symbol> the entry point of an executable (default is \"start\" from crt1.o)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 681 | OPTION(1, 1656 /* -fatal_warnings */, fatal_warnings, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 682 | "Treat warnings as errors" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 683 | OPTION(1, 1672 /* -filelist */, filelist, Separate, grp_content, INVALID, nullptr, 0, DefaultVis, 0, |
| 684 | "Read names of files to link from <file>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 685 | OPTION(1, 1682 /* -final_output */, final_output, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 686 | "Specify dylib install name if -install_name is not used; used by compiler driver for multiple -arch arguments" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 687 | OPTION(1, 1696 /* -fixup_chains_section */, fixup_chains_section, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 688 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 689 | OPTION(1, 1718 /* -fixup_chains */, fixup_chains, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 690 | "Emit chained fixups" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 691 | OPTION(1, 1732 /* -flat_namespace */, flat_namespace, Flag, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 692 | "Resolve symbols from all dylibs, both direct and transitive. Do not record source libraries: dyld must re-search at runtime and use the first definition found" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 693 | OPTION(1, 1748 /* -flto-codegen-only */, flto_codegen_only, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 694 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 695 | OPTION(1, 1767 /* -force_cpusubtype_ALL */, force_cpusubtype_ALL, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 696 | "Mark binary as runnable on any PowerPC, ignoring any PowerPC cpu requirements encoded in the object files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 697 | OPTION(1, 1789 /* -force_flat_namespace */, force_flat_namespace, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 698 | "Tell dyld to use a flat namespace on this executable and all its dependent dylibs & bundles" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 699 | OPTION(1, 1811 /* -force_load_swift_libs */, force_load_swift_libs, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 700 | "Apply -force_load to libraries listed in LC_LINKER_OPTIONS whose names start with 'swift'" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 701 | OPTION(1, 1834 /* -force_load */, force_load, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 702 | "Load all members static archive library at <path>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 703 | OPTION(1, 1846 /* -force_symbol_not_weak */, force_symbol_not_weak, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 704 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 705 | OPTION(1, 1869 /* -force_symbol_weak */, force_symbol_weak, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 706 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 707 | OPTION(1, 1888 /* -force_symbols_coalesce_list */, force_symbols_coalesce_list, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 708 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 709 | OPTION(1, 1917 /* -force_symbols_not_weak_list */, force_symbols_not_weak_list, Separate, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 710 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 711 | OPTION(1, 1946 /* -force_symbols_weak_list */, force_symbols_weak_list, Separate, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 712 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 713 | OPTION(1, 1971 /* -framework */, framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 714 | "Search for <name>.framework/<name> on the framework search path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 715 | OPTION(1, 1982 /* -function_starts */, function_starts, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 716 | "Create table of function start addresses (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 717 | OPTION(1, 1999 /* -fvmlib */, fvmlib, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 718 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 719 | OPTION(1, 2007 /* -F */, F, JoinedOrSeparate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 720 | "Add dir to the framework search path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<dir>" , nullptr, 0) |
| 721 | OPTION(1, 2010 /* -headerpad_max_install_names */, headerpad_max_install_names, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 722 | "Allocate extra space so all load-command paths can expand to MAXPATHLEN via install_name_tool" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 723 | OPTION(1, 2039 /* -headerpad */, headerpad, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 724 | "Allocate hex <size> extra space for future expansion of the load commands via install_name_tool (default is 0x20)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<size>" , nullptr, 0) |
| 725 | OPTION(6, 2050 /* --help-hidden */, help_hidden, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 726 | "Display help for hidden options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 727 | OPTION(3, 2064 /* -help */, help, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 728 | OPTION(1, 2070 /* -hidden-l */, hidden_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 729 | "Like -l<name>, but load all symbols with hidden visibility" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 730 | OPTION(6, 2080 /* --icf= */, icf_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 731 | "Set level for identical code folding (default: none). Possible values:\n none - Disable ICF\n safe - Only folds non-address significant functions (as described by `__addrsig` section)\n safe_thunks - Like safe, but replaces address-significant functions with thunks\n all - Fold all identical functions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[none,safe,safe_thunks,all]" , nullptr, 0) |
| 732 | OPTION(6, 2087 /* --ignore-auto-link-option= */, ignore_auto_link_option_eq, Joined, grp_lld, ignore_auto_link_option, nullptr, 0, DefaultVis, 0, |
| 733 | "Ignore a single auto-linked library or framework. Useful to ignore invalid options that ld64 ignores" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 734 | OPTION(6, 2114 /* --ignore-auto-link-option */, ignore_auto_link_option, Separate, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 735 | OPTION(1, 2140 /* -ignore_auto_link */, ignore_auto_link, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 736 | "Ignore LC_LINKER_OPTIONs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 737 | OPTION(1, 2158 /* -ignore_optimization_hints */, ignore_optimization_hints, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 738 | "Ignore Linker Optimization Hints" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 739 | OPTION(1, 2185 /* -image_base */, image_base, Separate, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 740 | "Preferred hex load address for a dylib or bundle." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr, 0) |
| 741 | OPTION(1, 2197 /* -init_offsets */, init_offsets, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 742 | "Store __TEXT segment offsets of static initializers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 743 | OPTION(1, 2211 /* -init */, init, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 744 | "Run <symbol> as the first initializer in a dylib" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 745 | OPTION(1, 2217 /* -install_name */, install_name, Separate, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 746 | "Set an internal install path in a dylib" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 747 | OPTION(1, 2231 /* -interposable_list */, interposable_list, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 748 | "Access global symbols listed in <path> indirectly" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 749 | OPTION(1, 2250 /* -interposable */, interposable, Flag, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 750 | "Indirects access to all exported symbols in an image" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 751 | OPTION(1, 2264 /* -ios_simulator_version_min */, ios_simulator_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 752 | "Oldest iOS simulator version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 753 | OPTION(1, 2291 /* -ios_version_min */, ios_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 754 | "Oldest iOS version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 755 | OPTION(1, 2308 /* -iosmac_version_min */, iosmac_version_min, Separate, grp_version, maccatalyst_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 756 | "Alias for -maccatalyst_version_min" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 757 | OPTION(1, 2328 /* -iphoneos_version_min */, iphoneos_version_min, Separate, grp_version, ios_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 758 | "Alias for -ios_version_min" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 759 | OPTION(6, 2350 /* --irpgo-profile-sort= */, irpgo_profile_sort_eq, Joined, grp_lld, irpgo_profile_sort, nullptr, 0, DefaultVis, 0, |
| 760 | "Deprecated. Please use --irpgo-profile and --bp-startup-sort=function" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<profile>" , nullptr, 0) |
| 761 | OPTION(6, 2372 /* --irpgo-profile-sort */, irpgo_profile_sort, Separate, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 762 | OPTION(6, 2393 /* --irpgo-profile= */, irpgo_profile_eq, Joined, grp_lld, irpgo_profile, nullptr, 0, DefaultVis, 0, |
| 763 | "Read the IRPGO <profile> for use with --bp-startup-sort and other profile-guided optimizations" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<profile>" , nullptr, 0) |
| 764 | OPTION(6, 2410 /* --irpgo-profile */, irpgo_profile, Separate, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 765 | OPTION(1, 2426 /* -i */, i, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 766 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 767 | OPTION(6, 2429 /* --keep-icf-stabs */, keep_icf_stabs, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 768 | "Generate STABS entries for symbols folded by ICF. These entries can then be used by dsymutil to discover the address range where folded symbols are located." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 769 | OPTION(1, 2446 /* -keep_dwarf_unwind */, keep_dwarf_unwind, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 770 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 771 | OPTION(1, 2465 /* -keep_private_externs */, keep_private_externs, Flag, grp_object, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 772 | "Do not convert private external symbols to static symbols (only valid with -r)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 773 | OPTION(1, 2487 /* -keep_relocs */, keep_relocs, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 774 | "Retain section-based relocation records in the output, which are ignored at runtime by dyld" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 775 | OPTION(1, 2500 /* -kext_objects_dir */, kext_objects_dir, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 776 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 777 | OPTION(1, 2518 /* -kexts_use_stubs */, kexts_use_stubs, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 778 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 779 | OPTION(1, 2535 /* -kext */, kext, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 780 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 781 | OPTION(1, 2541 /* -lazy-l */, lazy_l, Joined, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 782 | "This option is deprecated and is now an alias for -l<path>." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 783 | OPTION(1, 2549 /* -lazy_framework */, lazy_framework, Separate, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 784 | "This option is deprecated and is now an alias for -framework." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 785 | OPTION(1, 2565 /* -lazy_library */, lazy_library, Separate, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 786 | "This option is deprecated and is now an alias for regular linking" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 787 | OPTION(6, 2579 /* --load-pass-plugin= */, load_pass_plugins_eq, Joined, grp_lld, load_pass_plugins, nullptr, 0, DefaultVis, 0, |
| 788 | "Load passes from plugin library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 789 | OPTION(6, 2599 /* --load-pass-plugin */, load_pass_plugins, Separate, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 790 | OPTION(1, 2618 /* -load_hidden */, load_hidden, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 791 | "Load all symbols from static library with hidden visibility" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 792 | OPTION(6, 2631 /* --lto-CGO */, lto_CGO, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 793 | "Set codegen optimization level for LTO (default: 2)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<cgopt-level>" , nullptr, 0) |
| 794 | OPTION(6, 2641 /* --lto-debug-pass-manager */, lto_debug_pass_manager, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 795 | "Debug new pass manager" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 796 | OPTION(6, 2666 /* --lto-emit-llvm */, lto_emit_llvm, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 797 | "Emit LLVM-IR bitcode" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 798 | OPTION(6, 2682 /* --lto-newpm-passes= */, lto_newpm_passes, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 799 | "Passes to run during LTO" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 800 | OPTION(6, 2702 /* --lto-O */, lto_O, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 801 | "Set optimization level for LTO (default: 2)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<opt-level>" , nullptr, 0) |
| 802 | OPTION(1, 2710 /* -lto_library */, lto_library, Separate, grp_obsolete, INVALID, nullptr, 0, DefaultVis, 0, |
| 803 | "Obsolete. LLD supports LTO directly, without using an external dylib." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 804 | OPTION(1, 2723 /* -L */, L, JoinedOrSeparate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 805 | "Add dir to the library search path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<dir>" , nullptr, 0) |
| 806 | OPTION(1, 2726 /* -l */, l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 807 | "Search for lib<name>.dylib or lib<name>.a on the library search path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 808 | OPTION(1, 2729 /* -maccatalyst_version_min */, maccatalyst_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 809 | "Oldest MacCatalyst version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 810 | OPTION(1, 2754 /* -macos_version_min */, macos_version_min, Separate, grp_version, INVALID, nullptr, 0, DefaultVis, 0, |
| 811 | "Oldest macOS version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 812 | OPTION(1, 2773 /* -macosx_version_min */, macosx_version_min, Separate, grp_version, macos_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 813 | "Alias for -macos_version_min" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 814 | OPTION(1, 2793 /* -map */, map, Separate, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 815 | "Writes all symbols and their addresses to <path>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 816 | OPTION(1, 2798 /* -mark_dead_strippable_dylib */, mark_dead_strippable_dylib, Flag, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 817 | "Mark output dylib as dead-strippable: When a client links against it but does not use any of its symbols, the dylib will not be added to the client's list of needed dylibs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 818 | OPTION(1, 2826 /* -max_default_common_align */, max_default_common_align, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 819 | "Reduce maximum alignment for common symbols to a hex power-of-2 <boundary>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<boundary>" , nullptr, 0) |
| 820 | OPTION(1, 2852 /* -max_relative_cache_size_lto */, max_relative_cache_size_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 821 | "Limit the incremental LTO cache growth to <percent> of free disk, space" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<percent>" , nullptr, 0) |
| 822 | OPTION(1, 2881 /* -mcpu */, mcpu, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 823 | "Processor family target for LTO code generation" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 824 | OPTION(1, 2887 /* -merge_zero_fill_sections */, merge_zero_fill_sections, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 825 | "Merge all zeroed data into the __zerofill section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 826 | OPTION(1, 2913 /* -mllvm */, mllvm, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 827 | "Options to pass to LLVM" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 828 | OPTION(1, 2920 /* -move_to_ro_segment */, move_to_ro_segment, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 829 | "Move code symbols listed in <path> to another <segment>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <path>" , nullptr, 0) |
| 830 | OPTION(1, 2940 /* -move_to_rw_segment */, move_to_rw_segment, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 831 | "Move data symbols listed in <path> to another <segment>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <path>" , nullptr, 0) |
| 832 | OPTION(1, 2960 /* -multi_module */, multi_module, Flag, grp_rare, interposable, nullptr, HelpHidden, DefaultVis, 0, |
| 833 | "Alias for -interposable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 834 | OPTION(1, 2974 /* -multiply_defined_unused */, multiply_defined_unused, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 835 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 836 | OPTION(1, 2999 /* -multiply_defined */, multiply_defined, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 837 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 838 | OPTION(1, 3017 /* -M */, M, Flag, grp_ignored, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 839 | "This option is ignored in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 840 | OPTION(1, 3020 /* -m */, m, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 841 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 842 | OPTION(1, 3023 /* -needed-l */, needed_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 843 | "Like -l<name>, but link library even if its symbols are not used and -dead_strip_dylibs is active" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 844 | OPTION(1, 3033 /* -needed_framework */, needed_framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 845 | "Like -framework <name>, but link <name> even if none of its symbols are used and -dead_strip_dylibs is active" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 846 | OPTION(1, 3051 /* -needed_library */, needed_library, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 847 | "Like bare <path>, but link library even if its symbols are not used and -dead_strip_dylibs is active" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 848 | OPTION(1, 3067 /* -new_linker */, new_linker, Flag, grp_ignored, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 849 | "This option is ignored in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 850 | OPTION(6, 3079 /* --no-bp-compression-sort-startup-functions */, no_bp_compression_sort_startup_functions, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 851 | "Do not order startup function for compression" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 852 | OPTION(6, 3122 /* --no-call-graph-profile-sort */, no_call_graph_profile_sort, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 853 | "Do not reorder sections with call graph profile" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 854 | OPTION(6, 3151 /* --no-color-diagnostics */, no_color_diagnostics, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 855 | "Alias for --color-diagnostics=never" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 856 | OPTION(6, 3174 /* --no-compression-sort-startup-functions */, no_compression_sort_startup_functions, Flag, grp_lld, no_bp_compression_sort_startup_functions, nullptr, 0, DefaultVis, 0, |
| 857 | "Deprecated. Please use --no-bp-compression-sort-startup-functions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 858 | OPTION(6, 3214 /* --no-deduplicate-strings */, no_deduplicate_strings, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 859 | "Disable string deduplication. This helps uncover cases of comparing string addresses instead of equality and might have a link time performance benefit." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 860 | OPTION(1, 3239 /* -no-deduplicate-symbol-strings */, no_deduplicate_symbol_strings, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 861 | "Do not deduplicate strings in the symbol string table. Might result in larger binaries but slightly faster link times." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 862 | OPTION(6, 3270 /* --no-pgo-warn-mismatch */, no_pgo_warn_mismatch, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 863 | "turn off warnings about profile cfg mismatch" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 864 | OPTION(6, 3293 /* --no-separate-cstring-literal-sections */, no_separate_cstring_literal_sections, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 865 | "Emit all cstring literals into the __cstring section. As a special case, the __objc_methname section will still be emitted. (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 866 | OPTION(6, 3332 /* --no-tail-merge-strings */, no_tail_merge_strings, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 867 | "Disable string tail merging to improve link-time performance" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 868 | OPTION(6, 3356 /* --no-warn-duplicate-rpath */, no_warn_duplicate_rpath, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 869 | "Do not warn if the same -rpath is specified multiple times" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 870 | OPTION(6, 3382 /* --no-warn-dylib-install-name */, no_warn_dylib_install_name, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 871 | "Do not warn on -install_name if -dylib is not passed (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 872 | OPTION(6, 3411 /* --no-warn-thin-archive-missing-members */, no_warn_thin_archive_missing_members, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 873 | "Do not warn on missing object files referenced by thin archives" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 874 | OPTION(1, 3450 /* -no_adhoc_codesign */, no_adhoc_codesign, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 875 | "Do not write an ad-hoc code signature to the output file (default for x86_64 binaries)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 876 | OPTION(1, 3469 /* -no_application_extension */, no_application_extension, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 877 | "Disable application extension functionality (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 878 | OPTION(1, 3495 /* -no_arch_warnings */, no_arch_warnings, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 879 | "Suppresses warnings about inputs whose architecture does not match the -arch option" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 880 | OPTION(1, 3513 /* -no_branch_islands */, no_branch_islands, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 881 | "Disable infra for branches beyond the maximum branch distance." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 882 | OPTION(1, 3532 /* -no_compact_linkedit */, no_compact_linkedit, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 883 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 884 | OPTION(1, 3553 /* -no_compact_unwind */, no_compact_unwind, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 885 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 886 | OPTION(1, 3572 /* -no_data_const */, no_data_const, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 887 | "Block migration of readonly data away from __DATA segment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 888 | OPTION(1, 3587 /* -no_data_in_code_info */, no_data_in_code_info, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 889 | "Do not emit data-in-code information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 890 | OPTION(1, 3609 /* -no_dead_strip_inits_and_terms */, no_dead_strip_inits_and_terms, Flag, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 891 | "Unnecessary option: initialization and termination are roots of the dead strip graph, so never dead stripped" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 892 | OPTION(1, 3640 /* -no_deduplicate */, no_deduplicate, Flag, grp_opts, icf_eq, "none\0" , 0, DefaultVis, 0, |
| 893 | "Disable code deduplication (synonym for `--icf=none')" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 894 | OPTION(1, 3656 /* -no_dependent_dr_info */, no_dependent_dr_info, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 895 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 896 | OPTION(1, 3678 /* -no_dtrace_dof */, no_dtrace_dof, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 897 | "Disable dtrace-dof processing (default)." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 898 | OPTION(1, 3693 /* -no_eh_labels */, no_eh_labels, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 899 | "In -r mode, suppress .eh labels in the __eh_frame section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 900 | OPTION(1, 3707 /* -no_encryption */, no_encryption, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 901 | "Do not generate the LC_ENCRYPTION_INFO load command" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 902 | OPTION(1, 3722 /* -no_exported_symbols */, no_exported_symbols, Flag, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 903 | "Don't export any symbols from the binary, useful for main executables that don't have plugins" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 904 | OPTION(1, 3743 /* -no_fixup_chains */, no_fixup_chains, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 905 | "Emit fixup information as classic dyld opcodes" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 906 | OPTION(1, 3760 /* -no_function_starts */, no_function_starts, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 907 | "Do not create table of function start addresses" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 908 | OPTION(1, 3780 /* -no_implicit_dylibs */, no_implicit_dylibs, Flag, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 909 | "Do not optimize public dylib transitive symbol references" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 910 | OPTION(1, 3800 /* -no_inits */, no_inits, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 911 | "Fail if the output contains static initializers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 912 | OPTION(1, 3810 /* -no_keep_dwarf_unwind */, no_keep_dwarf_unwind, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 913 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 914 | OPTION(1, 3832 /* -no_kext_objects */, no_kext_objects, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 915 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 916 | OPTION(1, 3849 /* -no_new_main */, no_new_main, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 917 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 918 | OPTION(1, 3862 /* -no_objc_category_merging */, no_objc_category_merging, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 919 | "Do not merge Objective-C categories" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 920 | OPTION(1, 3888 /* -no_objc_relative_method_lists */, no_objc_relative_method_lists, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 921 | "Don't emit relative method lists (use traditional representation)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 922 | OPTION(1, 3919 /* -no_order_data */, no_order_data, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 923 | "Disable default reordering of global data accessed at launch time" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 924 | OPTION(1, 3934 /* -no_order_inits */, no_order_inits, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 925 | "Disable default reordering of initializer and terminator functions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 926 | OPTION(1, 3950 /* -no_pie */, no_pie, Flag, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 927 | "Do not build a position independent executable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 928 | OPTION(1, 3958 /* -no_source_version */, no_source_version, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 929 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 930 | OPTION(1, 3977 /* -no_uuid */, no_uuid, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 931 | "Do not generate the LC_UUID load command" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 932 | OPTION(1, 3986 /* -no_warn_duplicate_libraries */, no_warn_duplicate_libraries, Flag, grp_ignored_silently, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 933 | "Do not warn if the input contains duplicate library options." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 934 | OPTION(1, 4015 /* -no_warn_inits */, no_warn_inits, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 935 | "Suppress warnings for static initializers in the output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 936 | OPTION(1, 4030 /* -no_weak_exports */, no_weak_exports, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 937 | "Fail if the linked image contains weak external symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 938 | OPTION(1, 4047 /* -no_weak_imports */, no_weak_imports, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 939 | "Fail if any symbols are weak imports, allowed to be NULL at runtime" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 940 | OPTION(1, 4064 /* -no_zero_fill_sections */, no_zero_fill_sections, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 941 | "Explicitly store zeroed data in the final image" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 942 | OPTION(1, 4087 /* -noall_load */, noall_load, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 943 | "Don't load all static members from archives, this is the default, this negates -all_load" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 944 | OPTION(1, 4099 /* -nofixprebinding */, nofixprebinding, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 945 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 946 | OPTION(1, 4116 /* -nomultidefs */, nomultidefs, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 947 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 948 | OPTION(1, 4129 /* -non_global_symbols_no_strip_list */, non_global_symbols_no_strip_list, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 949 | "Specify in <path> the non-global symbols that should remain in the output symbol table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 950 | OPTION(1, 4163 /* -non_global_symbols_strip_list */, non_global_symbols_strip_list, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 951 | "Specify in <path> the non-global symbols that should be removed from the output symbol table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 952 | OPTION(1, 4194 /* -noprebind_all_twolevel_modules */, noprebind_all_twolevel_modules, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 953 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 954 | OPTION(1, 4226 /* -noprebind */, noprebind, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 955 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 956 | OPTION(1, 4237 /* -noseglinkedit */, noseglinkedit, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 957 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 958 | OPTION(1, 4252 /* -not_for_dyld_shared_cache */, not_for_dyld_shared_cache, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 959 | "Prevent system dylibs from being placed into the dylib shared cache" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 960 | OPTION(1, 4279 /* -objc_abi_version */, objc_abi_version, Separate, grp_ignored_silently, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 961 | "This option only applies to i386 in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 962 | OPTION(1, 4297 /* -objc_category_merging */, objc_category_merging, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 963 | "Merge Objective-C categories that share the same base class" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 964 | OPTION(1, 4320 /* -objc_gc_compaction */, objc_gc_compaction, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 965 | "Mark the Objective-C image as compatible with compacting garbage collection" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 966 | OPTION(1, 4340 /* -objc_gc_only */, objc_gc_only, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 967 | "Verify that all code was compiled with -fobjc-gc-only" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 968 | OPTION(1, 4354 /* -objc_gc */, objc_gc, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 969 | "Verify that all code was compiled with -fobjc-gc or -fobjc-gc-only" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 970 | OPTION(1, 4363 /* -objc_relative_method_lists */, objc_relative_method_lists, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 971 | "Emit relative method lists (more compact representation)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 972 | OPTION(1, 4391 /* -objc_stubs_fast */, objc_stubs_fast, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 973 | "Produce larger stubs for Objective-C method calls with fewer jumps (default)." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 974 | OPTION(1, 4408 /* -objc_stubs_small */, objc_stubs_small, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 975 | "Produce smaller stubs for Objective-C method calls with more jumps." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 976 | OPTION(1, 4426 /* -ObjC */, ObjC, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 977 | "Load all members of static archives that are an Objective-C class or category." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 978 | OPTION(1, 4432 /* -object_path_lto */, object_path_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 979 | "Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 980 | OPTION(1, 4449 /* -order_file_statistics */, order_file_statistics, Flag, grp_introspect, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 981 | "Logs information about -order_file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 982 | OPTION(1, 4472 /* -order_file */, order_file, Separate, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 983 | "Layout functions and data according to specification in <file>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 984 | OPTION(1, 4484 /* -oso_prefix */, oso_prefix, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 985 | "Remove the prefix <path> from OSO symbols in the debug map" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 986 | OPTION(1, 4496 /* -O */, O, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 987 | "Optimize output file size" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 988 | OPTION(1, 4499 /* -o */, o, Separate, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 989 | "The name of the output file (default: `a.out')" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 990 | OPTION(1, 4502 /* -page_align_data_atoms */, page_align_data_atoms, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 991 | "Distribute global variables on separate pages so page used/dirty status can guide creation of an order file to cluster commonly used/dirty globals" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 992 | OPTION(1, 4525 /* -pagezero_size */, pagezero_size, Separate, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 993 | "Size of unreadable segment at address zero is hex <size> (default is 4KB on 32-bit and 4GB on 64-bit)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<size>" , nullptr, 0) |
| 994 | OPTION(1, 4540 /* -pause */, pause, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 995 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 996 | OPTION(6, 4547 /* --pgo-warn-mismatch */, pgo_warn_mismatch, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 997 | "turn on warnings about profile cfg mismatch (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 998 | OPTION(1, 4567 /* -pie */, pie, Flag, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 999 | "Build a position independent executable (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1000 | OPTION(1, 4572 /* -platform_version */, platform_version, MultiArg, grp_version, INVALID, nullptr, 0, DefaultVis, 3, |
| 1001 | "Platform (e.g., macos, ios, tvos, watchos, xros, bridgeos, mac-catalyst, ios-sim, tvos-sim, watchos-sim, xros-sim, driverkit) and version numbers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<platform> <min_version> <sdk_version>" , nullptr, 0) |
| 1002 | OPTION(1, 4590 /* -prebind_all_twolevel_modules */, prebind_all_twolevel_modules, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1003 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1004 | OPTION(1, 4620 /* -prebind_allow_overlap */, prebind_allow_overlap, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1005 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1006 | OPTION(1, 4643 /* -prebind */, prebind, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1007 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1008 | OPTION(1, 4652 /* -preload */, preload, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1009 | "Produce an unsegmented binary for embedded systems" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1010 | OPTION(6, 4661 /* --print-dylib-search */, print_dylib_search, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1011 | "Print which paths lld searched when trying to find dylibs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1012 | OPTION(6, 4682 /* --print-symbol-order= */, print_symbol_order_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1013 | "Print a symbol order specified by --call-graph-profile-sort into the specified file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1014 | OPTION(1, 4704 /* -print_statistics */, print_statistics, Flag, grp_introspect, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1015 | "Log the linker's memory and CPU usage" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1016 | OPTION(1, 4722 /* -private_bundle */, private_bundle, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1017 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1018 | OPTION(1, 4738 /* -prune_after_lto */, prune_after_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1019 | "Remove LTO cache entries after <seconds>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<seconds>" , nullptr, 0) |
| 1020 | OPTION(1, 4755 /* -prune_interval_lto */, prune_interval_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1021 | "Prune the incremental LTO cache after <seconds> (-1 disables pruning)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<seconds>" , nullptr, 0) |
| 1022 | OPTION(1, 4775 /* -random_uuid */, random_uuid, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1023 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1024 | OPTION(6, 4788 /* --read-workers= */, read_workers, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1025 | "Approximate number of workers to use to eagerly preload input files content into memory. Use 0 to disable this feature. Default is disabled." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1026 | OPTION(1, 4804 /* -read_only_relocs */, read_only_relocs, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1027 | "Handle relocations that modify read-only pages according to <treatment> of warning, error, or suppress (i.e., allow)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 1028 | OPTION(1, 4822 /* -read_only_stubs */, read_only_stubs, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1029 | "On i386, make the __IMPORT segment of a final linked image read-only" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1030 | OPTION(1, 4839 /* -reexport-l */, reexport_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1031 | "Like -l<name>, but export all symbols of <name> from newly created library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1032 | OPTION(1, 4851 /* -reexport_framework */, reexport_framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1033 | "Like -framework <name>, but export all symbols of <name> from the newly created library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1034 | OPTION(1, 4871 /* -reexport_library */, reexport_library, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1035 | "Like bare <path>, but export all symbols of <path> from newly created library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 1036 | OPTION(1, 4889 /* -reexported_symbols_list */, reexported_symbols_list, Separate, grp_resolve, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1037 | "Symbols from dependent dylibs specified in <file> are reexported by this dylib" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 1038 | OPTION(1, 4914 /* -rename_section */, rename_section, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 4, |
| 1039 | "Rename <from_segment>/<from_section> as <to_segment>/<to_section>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<from_segment> <from_section> <to_segment> <to_section>" , nullptr, 0) |
| 1040 | OPTION(1, 4930 /* -rename_segment */, rename_segment, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 2, |
| 1041 | "Rename <from_segment> as <to_segment>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<from_segment> <to_segment>" , nullptr, 0) |
| 1042 | OPTION(6, 4946 /* --reproduce= */, reproduce_eq, Joined, grp_lld, reproduce, nullptr, 0, DefaultVis, 0, |
| 1043 | "Write tar file containing inputs and command to reproduce link" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1044 | OPTION(6, 4959 /* --reproduce */, reproduce, Separate, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1045 | OPTION(1, 4971 /* -reproducible */, reproducible, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1046 | "Make the output reproducible by removing timestamps and other non-deterministic data. This is the default behavior." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1047 | OPTION(1, 4985 /* -root_safe */, root_safe, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1048 | "Set the MH_ROOT_SAFE bit in the mach-o header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1049 | OPTION(1, 4996 /* -rpath */, rpath, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1050 | "Add <path> to dyld search list for dylibs with load path prefix `@rpath/'" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 1051 | OPTION(1, 5003 /* -run_init_lazily */, run_init_lazily, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1052 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1053 | OPTION(1, 5020 /* -r */, r, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1054 | "Merge multiple object files into one, retaining relocations" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1055 | OPTION(1, 5023 /* -save-temps */, save_temps, Flag, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1056 | "Save intermediate LTO compilation results" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1057 | OPTION(1, 5035 /* -sdk_version */, sdk_version, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1058 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1059 | OPTION(1, 5048 /* -search_dylibs_first */, search_dylibs_first, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1060 | "Search for lib<name>.dylib on first pass, then for lib<name>.a on second pass through search path (default for Xcode 3 and earlier)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1061 | OPTION(1, 5069 /* -search_paths_first */, search_paths_first, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1062 | "Search for lib<name>.dylib and lib<name>.a at each step in traversing search path (default for Xcode 4 and later)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1063 | OPTION(1, 5089 /* -sect_diff_relocs */, sect_diff_relocs, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1064 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 1065 | OPTION(1, 5107 /* -sectalign */, sectalign, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 3, |
| 1066 | "Align <section> within <segment> to hex power-of-2 <boundary>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <section> <boundary>" , nullptr, 0) |
| 1067 | OPTION(1, 5118 /* -sectcreate */, sectcreate, MultiArg, grp_content, INVALID, nullptr, 0, DefaultVis, 3, |
| 1068 | "Create <section> in <segment> from the contents of <file>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <section> <file>" , nullptr, 0) |
| 1069 | OPTION(1, 5130 /* -section_order */, section_order, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1070 | "With -preload, specify layout sequence of colon-separated <sections> in <segment>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <sections>" , nullptr, 0) |
| 1071 | OPTION(1, 5145 /* -sectobjectsymbols */, sectobjectsymbols, MultiArg, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1072 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segname> <sectname>" , nullptr, 0) |
| 1073 | OPTION(1, 5164 /* -sectorder_detail */, sectorder_detail, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1074 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1075 | OPTION(1, 5182 /* -sectorder */, sectorder, MultiArg, grp_obsolete, INVALID, nullptr, 0, DefaultVis, 3, |
| 1076 | "Obsolete. Replaced by more general -order_file option" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segname> <sectname> <orderfile>" , nullptr, 0) |
| 1077 | OPTION(1, 5193 /* -seg1addr */, seg1addr, Separate, grp_opts, image_base, nullptr, HelpHidden, DefaultVis, 0, |
| 1078 | "Alias for -image_base" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr, 0) |
| 1079 | OPTION(1, 5203 /* -seg_addr_table_filename */, seg_addr_table_filename, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1080 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 1081 | OPTION(1, 5228 /* -seg_page_size */, seg_page_size, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1082 | "Specifies the page <size> for <segment>. Segment size will be a multiple of its page size" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <size>" , nullptr, 0) |
| 1083 | OPTION(1, 5243 /* -segaddr */, segaddr, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1084 | "Specify the starting hex <address> at a 4KiB page boundary for <segment>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <address>" , nullptr, 0) |
| 1085 | OPTION(1, 5252 /* -segalign */, segalign, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1086 | "Align all segments to hex power-of-2 <boundary>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<boundary>" , nullptr, 0) |
| 1087 | OPTION(1, 5262 /* -segcreate */, segcreate, MultiArg, grp_content, sectcreate, nullptr, 0, DefaultVis, 3, |
| 1088 | "Alias for -sectcreate" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <section> <file>" , nullptr, 0) |
| 1089 | OPTION(1, 5273 /* -seglinkedit */, seglinkedit, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1090 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1091 | OPTION(1, 5286 /* -segment_order */, segment_order, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1092 | "With -preload, specify layout sequence of colon-separated <segments>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<colon_separated_segment_list>" , nullptr, 0) |
| 1093 | OPTION(1, 5301 /* -segprot */, segprot, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 3, |
| 1094 | "Specifies the <max> and <init> virtual memory protection of <segment> as r/w/x/-seg_addr_table path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segment> <max> <init>" , nullptr, 0) |
| 1095 | OPTION(1, 5310 /* -segs_read_only_addr */, segs_read_only_addr, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1096 | "This option is obsolete" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr, 0) |
| 1097 | OPTION(1, 5331 /* -segs_read_write_addr */, segs_read_write_addr, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1098 | "This option is obsolete" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr, 0) |
| 1099 | OPTION(6, 5353 /* --separate-cstring-literal-sections */, separate_cstring_literal_sections, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1100 | "Emit all cstring literals into their respective sections defined by their section names." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1101 | OPTION(1, 5389 /* -setuid_safe */, setuid_safe, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1102 | "Set the MH_SETUID_SAFE bit in the mach-o header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1103 | OPTION(1, 5402 /* -simulator_support */, simulator_support, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1104 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1105 | OPTION(1, 5421 /* -single_module */, single_module, Flag, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1106 | "Unnecessary option: this is already the default" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1107 | OPTION(1, 5436 /* -Si */, Si, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1108 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1109 | OPTION(6, 5440 /* --slop_scale= */, slop_scale_eq, Joined, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1110 | "Specify the slop scale. Default value is 256. If your binary has too many consecutive branch instructions resulting in thunk-range overrun, then you need to increase this value to a higher value, such as 512 or 1024, etc" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<unsigned_int>" , nullptr, 0) |
| 1111 | OPTION(1, 5454 /* -slow_stubs */, slow_stubs, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1112 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1113 | OPTION(1, 5466 /* -snapshot_dir */, snapshot_dir, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1114 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1115 | OPTION(1, 5480 /* -Sn */, Sn, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1116 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1117 | OPTION(1, 5484 /* -source_version */, source_version, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1118 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1119 | OPTION(1, 5500 /* -Sp */, Sp, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1120 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1121 | OPTION(1, 5504 /* -stack_addr */, stack_addr, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1122 | "Initialize stack pointer to hex <address> rounded to a page boundary" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr, 0) |
| 1123 | OPTION(1, 5516 /* -stack_size */, stack_size, Separate, grp_main, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1124 | "Maximum hex stack size for the main thread in a program. (default is 8MB)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<size>" , nullptr, 0) |
| 1125 | OPTION(6, 5528 /* --start-lib */, start_lib, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 1126 | "Start a grouping of objects that should be treated as if they were together in an archive" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1127 | OPTION(1, 5540 /* -static */, static, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1128 | "Link statically" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1129 | OPTION(6, 5548 /* --strict-auto-link */, strict_auto_link, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1130 | "Always warn for missing frameworks or libraries if they are loaded via LC_LINKER_OPTIONS" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1131 | OPTION(1, 5567 /* -sub_library */, sub_library, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1132 | "Re-export the dylib as <name>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1133 | OPTION(1, 5580 /* -sub_umbrella */, sub_umbrella, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1134 | "Re-export the framework as <name>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1135 | OPTION(1, 5594 /* -syslibroot */, syslibroot, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1136 | "Prepend <rootdir> to all library and framework search paths" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<rootdir>" , nullptr, 0) |
| 1137 | OPTION(1, 5606 /* -S */, S, Flag, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 1138 | "Strip debug information (STABS or DWARF) from the output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1139 | OPTION(1, 5609 /* -s */, s, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1140 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1141 | OPTION(6, 5612 /* --tail-merge-strings */, tail_merge_strings, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1142 | "Enable string tail merging" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1143 | OPTION(1, 5633 /* -text_exec */, text_exec, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1144 | "Rename __segment TEXT to __TEXT_EXEC for sections __text and __stubs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1145 | OPTION(6, 5644 /* --thinlto-cache-policy= */, thinlto_cache_policy_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1146 | "Pruning policy for the ThinLTO cache" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1147 | OPTION(6, 5668 /* --thinlto-emit-imports-files */, thinlto_emit_imports_files, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1148 | OPTION(6, 5697 /* --thinlto-emit-index-files */, thinlto_emit_index_files, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1149 | OPTION(6, 5724 /* --thinlto-index-only= */, thinlto_index_only_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1150 | OPTION(6, 5746 /* --thinlto-index-only */, thinlto_index_only, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1151 | OPTION(6, 5767 /* --thinlto-jobs= */, thinlto_jobs_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1152 | "Number of ThinLTO jobs. Default to --threads=" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1153 | OPTION(6, 5783 /* --thinlto-object-suffix-replace= */, thinlto_object_suffix_replace_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1154 | OPTION(6, 5816 /* --thinlto-prefix-replace= */, thinlto_prefix_replace_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1155 | OPTION(1, 5842 /* -threaded_starts_section */, threaded_starts_section, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1156 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1157 | OPTION(6, 5867 /* --threads= */, threads_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1158 | "Number of threads. '1' disables multi-threading. By default all available hardware threads are used" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1159 | OPTION(6, 5878 /* --time-trace-granularity= */, time_trace_granularity_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1160 | "Minimum time granularity (in microseconds) traced by time profiler" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1161 | OPTION(6, 5904 /* --time-trace= */, time_trace_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1162 | "Record time trace to <file>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 1163 | OPTION(6, 5918 /* --time-trace */, anonymous_0, Flag, grp_lld, time_trace_eq, nullptr, 0, DefaultVis, 0, |
| 1164 | "Record time trace to file next to output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1165 | OPTION(1, 5931 /* -trace_symbol_layout */, trace_symbol_layout, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1166 | "Show where and why symbols move, as specified by -move_to_ro_segment, -move_to_rw_segment, -rename_section, and -rename_segment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1167 | OPTION(1, 5952 /* -tvos_version_min */, tvos_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1168 | "Oldest tvOS version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 1169 | OPTION(1, 5970 /* -twolevel_namespace_hints */, twolevel_namespace_hints, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1170 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1171 | OPTION(1, 5996 /* -twolevel_namespace */, twolevel_namespace, Flag, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1172 | "Make dyld look up symbols by (dylib,name) pairs (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1173 | OPTION(1, 6016 /* -t */, t, Flag, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1174 | "Log every file the linker loads: object, archive, and dylib" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1175 | OPTION(1, 6019 /* -uikitformac_version_min */, uikitformac_version_min, Separate, grp_version, maccatalyst_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 1176 | "Alias for -maccatalyst_version_min" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 1177 | OPTION(1, 6044 /* -umbrella */, umbrella, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1178 | "Re-export this dylib through the umbrella framework <name>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1179 | OPTION(1, 6054 /* -unaligned_pointers */, unaligned_pointers, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1180 | "Handle unaligned pointers in __DATA segments according to <treatment>: warning, error, or suppress (default for arm64e is error, otherwise suppress)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 1181 | OPTION(1, 6074 /* -undefined */, undefined, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1182 | "Handle undefined symbols according to <treatment>: error, warning, suppress, or dynamic_lookup (default is error)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 1183 | OPTION(1, 6085 /* -unexported_symbols_list */, unexported_symbols_list, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1184 | "Global symbols specified in <file> become private externs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr, 0) |
| 1185 | OPTION(1, 6110 /* -unexported_symbol */, unexported_symbol, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1186 | "Global <symbol> becomes private extern" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 1187 | OPTION(1, 6129 /* -upward-l */, upward_l, Joined, grp_libs, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1188 | "Like -l<name>, but specify dylib as an upward dependency" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1189 | OPTION(1, 6139 /* -upward_framework */, upward_framework, Separate, grp_libs, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1190 | "Like -framework <name>, but specify the framework as an upward dependency" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1191 | OPTION(1, 6157 /* -upward_library */, upward_library, Separate, grp_libs, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1192 | "Like bare <path>, but specify dylib as an upward dependency" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 1193 | OPTION(1, 6173 /* -U */, U, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1194 | "Allow <symbol> to have no definition" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 1195 | OPTION(1, 6176 /* -u */, u, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1196 | "Require that <symbol> be defined for the link to succeed" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 1197 | OPTION(6, 6179 /* --verbose-bp-section-orderer */, verbose_bp_section_orderer, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1198 | "Print information on how many sections were ordered by balanced partitioning and a measure of the expected number of page faults" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1199 | OPTION(1, 6208 /* -verbose_deduplicate */, verbose_deduplicate, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1200 | "Print function names eliminated by deduplication and the total size of code savings" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1201 | OPTION(1, 6229 /* -verbose_optimization_hints */, verbose_optimization_hints, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1202 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1203 | OPTION(6, 6257 /* --verbose */, verbose, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1204 | OPTION(1, 6267 /* -version_details */, version_details, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1205 | "Print the linker version in JSON form" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1206 | OPTION(1, 6284 /* -version_load_command */, version_load_command, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1207 | "This option is undocumented in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1208 | OPTION(6, 6306 /* --version */, version, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1209 | "Display the version number and exit" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1210 | OPTION(1, 6316 /* -v */, v, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1211 | "Print the linker version and search paths in addition to linking" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1212 | OPTION(6, 6319 /* --warn-duplicate-rpath */, warn_duplicate_rpath, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1213 | "Warn if the same -rpath is specified multiple times (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1214 | OPTION(6, 6342 /* --warn-dylib-install-name */, warn_dylib_install_name, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1215 | "Warn on -install_name if -dylib is not passed" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1216 | OPTION(6, 6368 /* --warn-thin-archive-missing-members */, warn_thin_archive_missing_members, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1217 | "Warn on missing object files referenced by thin archives (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1218 | OPTION(1, 6404 /* -warn_commons */, warn_commons, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1219 | "Warn when a tentative definition in an object file matches an external symbol in a dylib, which often means \"extern\" is missing from a variable declaration in a header file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1220 | OPTION(1, 6418 /* -warn_compact_unwind */, warn_compact_unwind, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1221 | "Warn for each FDE that cannot compact into the __unwind_info section and must remain in the __eh_frame section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1222 | OPTION(1, 6439 /* -warn_stabs */, warn_stabs, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1223 | "Warn when bad stab symbols inside a BINCL/EINCL prevent optimization" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1224 | OPTION(1, 6451 /* -warn_weak_exports */, warn_weak_exports, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1225 | "Warn if the linked image contains weak external symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1226 | OPTION(1, 6470 /* -watchos_version_min */, watchos_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1227 | "Oldest watchOS version for which linked output is usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr, 0) |
| 1228 | OPTION(1, 6491 /* -weak-l */, weak_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1229 | "Like -l<name>, but mark library and its references as weak imports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1230 | OPTION(1, 6499 /* -weak_framework */, weak_framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1231 | "Like -framework <name>, but mark framework and its references as weak imports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr, 0) |
| 1232 | OPTION(1, 6515 /* -weak_library */, weak_library, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1233 | "Like bare <path>, but mark library and its references as weak imports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 1234 | OPTION(1, 6529 /* -weak_reference_mismatches */, weak_reference_mismatches, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1235 | "Resolve symbol imports of conflicting weakness according to <treatment> as weak, non-weak, or error (default is non-weak)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<treatment>" , nullptr, 0) |
| 1236 | OPTION(1, 6556 /* -whatsloaded */, whatsloaded, Flag, grp_introspect, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1237 | "Logs only the object files the linker loads" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1238 | OPTION(1, 6569 /* -why_live */, why_live, Separate, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1239 | "Log a chain of references to <symbol>, for use with -dead_strip" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 1240 | OPTION(1, 6579 /* -why_load */, why_load, Flag, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1241 | "Log why each object file is loaded from a static library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1242 | OPTION(1, 6589 /* -whyload */, whyload, Flag, grp_introspect, why_load, nullptr, 0, DefaultVis, 0, |
| 1243 | "Alias for -why_load" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1244 | OPTION(1, 6598 /* -w */, w, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1245 | "Suppress all warnings" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1246 | OPTION(1, 6601 /* -X */, X, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1247 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1248 | OPTION(1, 6604 /* -x */, x, Flag, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 1249 | "Exclude non-global symbols from the output symbol table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1250 | OPTION(1, 6607 /* -Y */, Y, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1251 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<number>" , nullptr, 0) |
| 1252 | OPTION(1, 6610 /* -y */, y, Joined, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1253 | "This option is obsolete in ld64" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>" , nullptr, 0) |
| 1254 | OPTION(1, 6613 /* -Z */, Z, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1255 | "Remove standard directories from the library and framework search paths" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 1256 | #endif // OPTION |
| 1257 | |
| 1258 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 1259 | |
| 1260 | struct SimpleEnumValue { |
| 1261 | const char *Name; |
| 1262 | unsigned Value; |
| 1263 | }; |
| 1264 | |
| 1265 | struct SimpleEnumValueTable { |
| 1266 | const SimpleEnumValue *Table; |
| 1267 | unsigned Size; |
| 1268 | }; |
| 1269 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 1270 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 1271 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 1272 | |
| 1273 | ///////// |
| 1274 | |
| 1275 | // SubCommands |
| 1276 | |
| 1277 | #ifdef OPTTABLE_SUBCOMMANDS_CODE |
| 1278 | static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = { |
| 1279 | }; |
| 1280 | #endif // OPTTABLE_SUBCOMMANDS_CODE |
| 1281 | |
| 1282 | |
| 1283 | |