| 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-newpm-passes=\0" |
| 188 | "--lto-O\0" |
| 189 | "-lto_library\0" |
| 190 | "-L\0" |
| 191 | "-l\0" |
| 192 | "-maccatalyst_version_min\0" |
| 193 | "-macos_version_min\0" |
| 194 | "-macosx_version_min\0" |
| 195 | "-map\0" |
| 196 | "-mark_dead_strippable_dylib\0" |
| 197 | "-max_default_common_align\0" |
| 198 | "-max_relative_cache_size_lto\0" |
| 199 | "-mcpu\0" |
| 200 | "-merge_zero_fill_sections\0" |
| 201 | "-mllvm\0" |
| 202 | "-move_to_ro_segment\0" |
| 203 | "-move_to_rw_segment\0" |
| 204 | "-multi_module\0" |
| 205 | "-multiply_defined_unused\0" |
| 206 | "-multiply_defined\0" |
| 207 | "-M\0" |
| 208 | "-m\0" |
| 209 | "-needed-l\0" |
| 210 | "-needed_framework\0" |
| 211 | "-needed_library\0" |
| 212 | "-new_linker\0" |
| 213 | "--no-bp-compression-sort-startup-functions\0" |
| 214 | "--no-call-graph-profile-sort\0" |
| 215 | "--no-color-diagnostics\0" |
| 216 | "--no-compression-sort-startup-functions\0" |
| 217 | "--no-deduplicate-strings\0" |
| 218 | "-no-deduplicate-symbol-strings\0" |
| 219 | "--no-pgo-warn-mismatch\0" |
| 220 | "--no-warn-duplicate-rpath\0" |
| 221 | "--no-warn-dylib-install-name\0" |
| 222 | "--no-warn-thin-archive-missing-members\0" |
| 223 | "-no_adhoc_codesign\0" |
| 224 | "-no_application_extension\0" |
| 225 | "-no_arch_warnings\0" |
| 226 | "-no_branch_islands\0" |
| 227 | "-no_compact_linkedit\0" |
| 228 | "-no_compact_unwind\0" |
| 229 | "-no_data_const\0" |
| 230 | "-no_data_in_code_info\0" |
| 231 | "-no_dead_strip_inits_and_terms\0" |
| 232 | "-no_deduplicate\0" |
| 233 | "-no_dependent_dr_info\0" |
| 234 | "-no_dtrace_dof\0" |
| 235 | "-no_eh_labels\0" |
| 236 | "-no_encryption\0" |
| 237 | "-no_exported_symbols\0" |
| 238 | "-no_fixup_chains\0" |
| 239 | "-no_function_starts\0" |
| 240 | "-no_implicit_dylibs\0" |
| 241 | "-no_inits\0" |
| 242 | "-no_keep_dwarf_unwind\0" |
| 243 | "-no_kext_objects\0" |
| 244 | "-no_new_main\0" |
| 245 | "-no_objc_category_merging\0" |
| 246 | "-no_objc_relative_method_lists\0" |
| 247 | "-no_order_data\0" |
| 248 | "-no_order_inits\0" |
| 249 | "-no_pie\0" |
| 250 | "-no_source_version\0" |
| 251 | "-no_uuid\0" |
| 252 | "-no_warn_duplicate_libraries\0" |
| 253 | "-no_warn_inits\0" |
| 254 | "-no_weak_exports\0" |
| 255 | "-no_weak_imports\0" |
| 256 | "-no_zero_fill_sections\0" |
| 257 | "-noall_load\0" |
| 258 | "-nofixprebinding\0" |
| 259 | "-nomultidefs\0" |
| 260 | "-non_global_symbols_no_strip_list\0" |
| 261 | "-non_global_symbols_strip_list\0" |
| 262 | "-noprebind_all_twolevel_modules\0" |
| 263 | "-noprebind\0" |
| 264 | "-noseglinkedit\0" |
| 265 | "-not_for_dyld_shared_cache\0" |
| 266 | "-objc_abi_version\0" |
| 267 | "-objc_category_merging\0" |
| 268 | "-objc_gc_compaction\0" |
| 269 | "-objc_gc_only\0" |
| 270 | "-objc_gc\0" |
| 271 | "-objc_relative_method_lists\0" |
| 272 | "-objc_stubs_fast\0" |
| 273 | "-objc_stubs_small\0" |
| 274 | "-ObjC\0" |
| 275 | "-object_path_lto\0" |
| 276 | "-order_file_statistics\0" |
| 277 | "-order_file\0" |
| 278 | "-oso_prefix\0" |
| 279 | "-O\0" |
| 280 | "-o\0" |
| 281 | "-page_align_data_atoms\0" |
| 282 | "-pagezero_size\0" |
| 283 | "-pause\0" |
| 284 | "--pgo-warn-mismatch\0" |
| 285 | "-pie\0" |
| 286 | "-platform_version\0" |
| 287 | "-prebind_all_twolevel_modules\0" |
| 288 | "-prebind_allow_overlap\0" |
| 289 | "-prebind\0" |
| 290 | "-preload\0" |
| 291 | "--print-dylib-search\0" |
| 292 | "--print-symbol-order=\0" |
| 293 | "-print_statistics\0" |
| 294 | "-private_bundle\0" |
| 295 | "-prune_after_lto\0" |
| 296 | "-prune_interval_lto\0" |
| 297 | "-random_uuid\0" |
| 298 | "-read_only_relocs\0" |
| 299 | "-read_only_stubs\0" |
| 300 | "-reexport-l\0" |
| 301 | "-reexport_framework\0" |
| 302 | "-reexport_library\0" |
| 303 | "-reexported_symbols_list\0" |
| 304 | "-rename_section\0" |
| 305 | "-rename_segment\0" |
| 306 | "--reproduce=\0" |
| 307 | "--reproduce\0" |
| 308 | "-reproducible\0" |
| 309 | "-root_safe\0" |
| 310 | "-rpath\0" |
| 311 | "-run_init_lazily\0" |
| 312 | "-r\0" |
| 313 | "-save-temps\0" |
| 314 | "-sdk_version\0" |
| 315 | "-search_dylibs_first\0" |
| 316 | "-search_paths_first\0" |
| 317 | "-sect_diff_relocs\0" |
| 318 | "-sectalign\0" |
| 319 | "-sectcreate\0" |
| 320 | "-section_order\0" |
| 321 | "-sectobjectsymbols\0" |
| 322 | "-sectorder_detail\0" |
| 323 | "-sectorder\0" |
| 324 | "-seg1addr\0" |
| 325 | "-seg_addr_table_filename\0" |
| 326 | "-seg_page_size\0" |
| 327 | "-segaddr\0" |
| 328 | "-segalign\0" |
| 329 | "-segcreate\0" |
| 330 | "-seglinkedit\0" |
| 331 | "-segment_order\0" |
| 332 | "-segprot\0" |
| 333 | "-segs_read_only_addr\0" |
| 334 | "-segs_read_write_addr\0" |
| 335 | "-setuid_safe\0" |
| 336 | "-simulator_support\0" |
| 337 | "-single_module\0" |
| 338 | "-Si\0" |
| 339 | "-slow_stubs\0" |
| 340 | "-snapshot_dir\0" |
| 341 | "-Sn\0" |
| 342 | "-source_version\0" |
| 343 | "-Sp\0" |
| 344 | "-stack_addr\0" |
| 345 | "-stack_size\0" |
| 346 | "--start-lib\0" |
| 347 | "-static\0" |
| 348 | "--strict-auto-link\0" |
| 349 | "-sub_library\0" |
| 350 | "-sub_umbrella\0" |
| 351 | "-syslibroot\0" |
| 352 | "-S\0" |
| 353 | "-s\0" |
| 354 | "-text_exec\0" |
| 355 | "--thinlto-cache-policy=\0" |
| 356 | "--thinlto-emit-imports-files\0" |
| 357 | "--thinlto-emit-index-files\0" |
| 358 | "--thinlto-index-only=\0" |
| 359 | "--thinlto-index-only\0" |
| 360 | "--thinlto-jobs=\0" |
| 361 | "--thinlto-object-suffix-replace=\0" |
| 362 | "--thinlto-prefix-replace=\0" |
| 363 | "-threaded_starts_section\0" |
| 364 | "--threads=\0" |
| 365 | "--time-trace-granularity=\0" |
| 366 | "--time-trace=\0" |
| 367 | "--time-trace\0" |
| 368 | "-trace_symbol_layout\0" |
| 369 | "-tvos_version_min\0" |
| 370 | "-twolevel_namespace_hints\0" |
| 371 | "-twolevel_namespace\0" |
| 372 | "-t\0" |
| 373 | "-uikitformac_version_min\0" |
| 374 | "-umbrella\0" |
| 375 | "-unaligned_pointers\0" |
| 376 | "-undefined\0" |
| 377 | "-unexported_symbols_list\0" |
| 378 | "-unexported_symbol\0" |
| 379 | "-upward-l\0" |
| 380 | "-upward_framework\0" |
| 381 | "-upward_library\0" |
| 382 | "-U\0" |
| 383 | "-u\0" |
| 384 | "--verbose-bp-section-orderer\0" |
| 385 | "-verbose_deduplicate\0" |
| 386 | "-verbose_optimization_hints\0" |
| 387 | "--verbose\0" |
| 388 | "-version_details\0" |
| 389 | "-version_load_command\0" |
| 390 | "--version\0" |
| 391 | "-v\0" |
| 392 | "--warn-duplicate-rpath\0" |
| 393 | "--warn-dylib-install-name\0" |
| 394 | "--warn-thin-archive-missing-members\0" |
| 395 | "-warn_commons\0" |
| 396 | "-warn_compact_unwind\0" |
| 397 | "-warn_stabs\0" |
| 398 | "-warn_weak_exports\0" |
| 399 | "-watchos_version_min\0" |
| 400 | "-weak-l\0" |
| 401 | "-weak_framework\0" |
| 402 | "-weak_library\0" |
| 403 | "-weak_reference_mismatches\0" |
| 404 | "-whatsloaded\0" |
| 405 | "-why_live\0" |
| 406 | "-why_load\0" |
| 407 | "-whyload\0" |
| 408 | "-w\0" |
| 409 | "-X\0" |
| 410 | "-x\0" |
| 411 | "-Y\0" |
| 412 | "-y\0" |
| 413 | "-Z\0" |
| 414 | ; |
| 415 | #ifdef __GNUC__ |
| 416 | #pragma GCC diagnostic pop |
| 417 | #endif |
| 418 | |
| 419 | static constexpr llvm::StringTable OptionStrTable = |
| 420 | OptionStrTableStorage; |
| 421 | #endif // OPTTABLE_STR_TABLE_CODE |
| 422 | |
| 423 | ///////// |
| 424 | // Prefixes |
| 425 | |
| 426 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 427 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 428 | 0 /* prefixes */, |
| 429 | 1 /* prefixes */, 1 /* '-' */, |
| 430 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */, |
| 431 | 1 /* prefixes */, 3 /* '--' */ |
| 432 | }; |
| 433 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 434 | |
| 435 | ///////// |
| 436 | // Prefix Union |
| 437 | |
| 438 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 439 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 440 | 1 /* '-' */, 3 /* '--' */ |
| 441 | }; |
| 442 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 443 | |
| 444 | ///////// |
| 445 | // ValuesCode |
| 446 | |
| 447 | #ifdef OPTTABLE_VALUES_CODE |
| 448 | #endif |
| 449 | ///////// |
| 450 | // Groups |
| 451 | |
| 452 | #ifdef OPTION |
| 453 | OPTION(0 /* no prefixes */, 6 /* bundle */, grp_bundle, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 454 | "CREATING A BUNDLE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 455 | OPTION(0 /* no prefixes */, 13 /* content */, grp_content, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 456 | "ADDITIONAL CONTENT" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 457 | OPTION(0 /* no prefixes */, 21 /* deprecated */, grp_deprecated, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 458 | "DEPRECATED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 459 | OPTION(0 /* no prefixes */, 32 /* dylib */, grp_dylib, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 460 | "DYNAMIC LIBRARIES (DYLIB)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 461 | OPTION(0 /* no prefixes */, 38 /* ignored */, grp_ignored, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 462 | "IGNORED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 463 | OPTION(0 /* no prefixes */, 46 /* ignored_silently */, grp_ignored_silently, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 464 | "IGNORED SILENTLY" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 465 | OPTION(0 /* no prefixes */, 63 /* introspect */, grp_introspect, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 466 | "INTROSPECTING THE LINKER" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 467 | OPTION(0 /* no prefixes */, 74 /* kind */, grp_kind, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 468 | "OUTPUT KIND" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 469 | OPTION(0 /* no prefixes */, 79 /* libs */, grp_libs, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 470 | "LIBRARIES" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 471 | OPTION(0 /* no prefixes */, 74 /* kind */, grp_lld, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 472 | "LLD-SPECIFIC" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 473 | OPTION(0 /* no prefixes */, 84 /* main */, grp_main, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 474 | "MAIN EXECUTABLE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 475 | OPTION(0 /* no prefixes */, 89 /* object */, grp_object, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 476 | "CREATING AN OBJECT FILE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 477 | OPTION(0 /* no prefixes */, 96 /* obsolete */, grp_obsolete, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 478 | "OBSOLETE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 479 | OPTION(0 /* no prefixes */, 105 /* opts */, grp_opts, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 480 | "OPTIMIZATIONS" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 481 | OPTION(0 /* no prefixes */, 110 /* rare */, grp_rare, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 482 | "RARELY USED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 483 | OPTION(0 /* no prefixes */, 115 /* resolve */, grp_resolve, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 484 | "SYMBOL RESOLUTION" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 485 | OPTION(0 /* no prefixes */, 123 /* symtab */, grp_symtab, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 486 | "SYMBOL TABLE" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 487 | OPTION(0 /* no prefixes */, 130 /* undocumented */, grp_undocumented, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 488 | "UNDOCUMENTED" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 489 | OPTION(0 /* no prefixes */, 143 /* version */, grp_version, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 490 | "VERSION TARGETING" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 491 | |
| 492 | ////////// |
| 493 | // Options |
| 494 | |
| 495 | 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) |
| 496 | 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) |
| 497 | OPTION(1, 169 /* -add_ast_path */, add_ast_path, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 498 | "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) |
| 499 | OPTION(1, 183 /* -add_empty_section */, add_empty_section, MultiArg, grp_content, INVALID, nullptr, 0, DefaultVis, 2, |
| 500 | "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) |
| 501 | OPTION(1, 202 /* -add_linker_option */, add_linker_option, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 502 | "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) |
| 503 | OPTION(1, 221 /* -add_source_version */, add_source_version, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 504 | "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) |
| 505 | OPTION(1, 241 /* -add_split_seg_info */, add_split_seg_info, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 506 | "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) |
| 507 | OPTION(1, 261 /* -adhoc_codesign */, adhoc_codesign, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 508 | "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) |
| 509 | OPTION(1, 277 /* -alias_list */, alias_list, Separate, grp_resolve, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 510 | "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) |
| 511 | OPTION(1, 289 /* -alias */, alias, MultiArg, grp_resolve, INVALID, nullptr, 0, DefaultVis, 2, |
| 512 | "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) |
| 513 | OPTION(1, 296 /* -all_load */, all_load, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 514 | "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) |
| 515 | OPTION(1, 306 /* -allow_dead_duplicates */, allow_dead_duplicates, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 516 | "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) |
| 517 | OPTION(1, 329 /* -allow_heap_execute */, allow_heap_execute, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 518 | "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) |
| 519 | OPTION(1, 349 /* -allow_simulator_linking_to_macosx_dylibs */, allow_simulator_linking_to_macosx_dylibs, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 520 | "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) |
| 521 | OPTION(1, 391 /* -allow_stack_execute */, allow_stack_execute, Flag, grp_main, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 522 | "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) |
| 523 | OPTION(1, 412 /* -allow_sub_type_mismatches */, allow_sub_type_mismatches, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 524 | "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) |
| 525 | OPTION(1, 439 /* -allowable_client */, allowable_client, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 526 | "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) |
| 527 | OPTION(1, 457 /* -application_extension */, application_extension, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 528 | "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) |
| 529 | OPTION(1, 480 /* -arch_errors_fatal */, arch_errors_fatal, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 530 | "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) |
| 531 | OPTION(1, 499 /* -arch_multiple */, arch_multiple, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 532 | "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) |
| 533 | OPTION(1, 514 /* -arch */, arch, Separate, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 534 | "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) |
| 535 | OPTION(1, 520 /* -A */, A, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 536 | "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) |
| 537 | OPTION(1, 523 /* -bind_at_load */, bind_at_load, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 538 | "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) |
| 539 | OPTION(1, 537 /* -bitcode_bundle */, bitcode_bundle, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 540 | "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) |
| 541 | OPTION(1, 553 /* -bitcode_hide_symbols */, bitcode_hide_symbols, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 542 | "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) |
| 543 | OPTION(1, 575 /* -bitcode_process_mode */, bitcode_process_mode, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 544 | "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) |
| 545 | OPTION(1, 597 /* -bitcode_symbol_map */, bitcode_symbol_map, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 546 | "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) |
| 547 | OPTION(1, 617 /* -bitcode_verify */, bitcode_verify, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 548 | "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) |
| 549 | OPTION(6, 633 /* --bp-compression-sort-startup-functions */, bp_compression_sort_startup_functions, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 550 | "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) |
| 551 | OPTION(6, 673 /* --bp-compression-sort= */, bp_compression_sort, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 552 | "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) |
| 553 | OPTION(6, 696 /* --bp-startup-sort= */, bp_startup_sort, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 554 | "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) |
| 555 | OPTION(1, 715 /* -bridgeos_version_min */, bridgeos_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 556 | "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) |
| 557 | OPTION(1, 737 /* -bundle_loader */, bundle_loader, Separate, grp_bundle, INVALID, nullptr, 0, DefaultVis, 0, |
| 558 | "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) |
| 559 | OPTION(1, 752 /* -bundle */, bundle, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 560 | "Produce a bundle" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 561 | OPTION(1, 760 /* -b */, b, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 562 | "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) |
| 563 | OPTION(1, 763 /* -cache_path_lto */, cache_path_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 564 | "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) |
| 565 | OPTION(6, 779 /* --call-graph-profile-sort */, call_graph_profile_sort, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 566 | "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) |
| 567 | OPTION(6, 805 /* --check-category-conflicts */, check_category_conflicts, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 568 | "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) |
| 569 | OPTION(1, 832 /* -classic_linker */, classic_linker, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 570 | "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) |
| 571 | OPTION(1, 848 /* -client_name */, client_name, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 572 | "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) |
| 573 | OPTION(6, 861 /* --codegen-data-generate-path= */, codegen_data_generate_path_eq, Joined, grp_lld, codegen_data_generate_path, nullptr, 0, DefaultVis, 0, |
| 574 | "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) |
| 575 | 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) |
| 576 | OPTION(6, 920 /* --color-diagnostics= */, color_diagnostics_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 577 | "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) |
| 578 | OPTION(6, 941 /* --color-diagnostics */, color_diagnostics, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 579 | "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) |
| 580 | OPTION(1, 961 /* -commons */, commons, Separate, grp_resolve, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 581 | "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) |
| 582 | OPTION(1, 970 /* -compatibility_version */, compatibility_version, Separate, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 583 | "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) |
| 584 | OPTION(6, 993 /* --compression-sort-startup-functions */, compression_sort_startup_functions, Flag, grp_lld, bp_compression_sort_startup_functions, nullptr, 0, DefaultVis, 0, |
| 585 | "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) |
| 586 | OPTION(6, 1030 /* --compression-sort= */, compression_sort, Joined, grp_lld, bp_compression_sort, nullptr, 0, DefaultVis, 0, |
| 587 | "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) |
| 588 | OPTION(6, 1050 /* --cs-profile-generate */, cs_profile_generate, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 589 | "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) |
| 590 | OPTION(6, 1072 /* --cs-profile-path= */, cs_profile_path, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 591 | "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) |
| 592 | OPTION(1, 1091 /* -current_version */, current_version, Separate, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 593 | "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) |
| 594 | OPTION(1, 1108 /* -data_const */, data_const, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 595 | "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) |
| 596 | OPTION(1, 1120 /* -data_in_code_info */, data_in_code_info, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 597 | "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) |
| 598 | OPTION(6, 1139 /* --dead-strip-duplicates */, dead_strip_duplicates, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 599 | "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) |
| 600 | OPTION(1, 1163 /* -dead_strip_dylibs */, dead_strip_dylibs, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 601 | "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) |
| 602 | OPTION(1, 1182 /* -dead_strip */, dead_strip, Flag, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 603 | "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) |
| 604 | OPTION(1, 1194 /* -debug_snapshot */, debug_snapshot, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 605 | "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) |
| 606 | OPTION(1, 1210 /* -debug_variant */, debug_variant, Flag, grp_ignored_silently, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 607 | "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) |
| 608 | OPTION(6, 1225 /* --deduplicate-strings */, deduplicate_strings, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 609 | "Enable string deduplication" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 610 | OPTION(1, 1247 /* -demangle */, demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 611 | "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) |
| 612 | OPTION(1, 1257 /* -dependency_info */, dependency_info, Separate, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 613 | "Dump dependency info" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr) |
| 614 | OPTION(1, 1274 /* -dependent_dr_info */, dependent_dr_info, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 615 | "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) |
| 616 | OPTION(1, 1293 /* -dirty_data_list */, dirty_data_list, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 617 | "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) |
| 618 | OPTION(6, 1310 /* --disable_verify */, disable_verify, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 619 | "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) |
| 620 | OPTION(1, 1327 /* -dot */, dot, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 621 | "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) |
| 622 | OPTION(1, 1332 /* -driverkit_version_min */, driverkit_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 623 | "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) |
| 624 | OPTION(1, 1355 /* -dtrace */, dtrace, Separate, grp_content, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 625 | "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) |
| 626 | OPTION(1, 1363 /* -dyld_env */, dyld_env, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 627 | "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) |
| 628 | OPTION(1, 1373 /* -dylib_compatibility_version */, dylib_compatibility_version, Separate, grp_dylib, compatibility_version, nullptr, HelpHidden, DefaultVis, 0, |
| 629 | "Alias for -compatibility_version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr) |
| 630 | OPTION(1, 1402 /* -dylib_current_version */, dylib_current_version, Separate, grp_dylib, current_version, nullptr, HelpHidden, DefaultVis, 0, |
| 631 | "Alias for -current_version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<version>" , nullptr) |
| 632 | OPTION(1, 1425 /* -dylib_file */, dylib_file, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 633 | "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) |
| 634 | OPTION(1, 1437 /* -dylib_install_name */, dylib_install_name, Separate, grp_dylib, install_name, nullptr, 0, DefaultVis, 0, |
| 635 | "Alias for -install_name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr) |
| 636 | OPTION(1, 1457 /* -dylib */, dylib, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 637 | "Produce a shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 638 | OPTION(1, 1464 /* -dylinker_install_name */, dylinker_install_name, Separate, grp_dylib, install_name, nullptr, 0, DefaultVis, 0, |
| 639 | "Alias for -install_name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name>" , nullptr) |
| 640 | OPTION(1, 1487 /* -dylinker */, dylinker, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 641 | "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) |
| 642 | OPTION(1, 1497 /* -dynamic */, dynamic, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 643 | "Link dynamically (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 644 | OPTION(1, 1506 /* -d */, d, Flag, grp_object, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 645 | "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) |
| 646 | OPTION(1, 1509 /* -encryptable */, encryptable, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 647 | "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) |
| 648 | OPTION(6, 1522 /* --end-lib */, end_lib, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 649 | "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) |
| 650 | OPTION(6, 1532 /* --error-limit= */, error_limit_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 651 | "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) |
| 652 | OPTION(1, 1547 /* -executable_path */, executable_path, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 653 | "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) |
| 654 | OPTION(1, 1564 /* -execute */, execute, Flag, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 655 | "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) |
| 656 | OPTION(1, 1573 /* -export_dynamic */, export_dynamic, Flag, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 657 | "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) |
| 658 | OPTION(1, 1589 /* -exported_symbols_list */, exported_symbols_list, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 659 | "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) |
| 660 | OPTION(1, 1612 /* -exported_symbols_order */, exported_symbols_order, Separate, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 661 | "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) |
| 662 | OPTION(1, 1636 /* -exported_symbol */, exported_symbol, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 663 | "<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) |
| 664 | OPTION(1, 1653 /* -e */, e, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 665 | "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) |
| 666 | OPTION(1, 1656 /* -fatal_warnings */, fatal_warnings, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 667 | "Treat warnings as errors" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 668 | OPTION(1, 1672 /* -filelist */, filelist, Separate, grp_content, INVALID, nullptr, 0, DefaultVis, 0, |
| 669 | "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) |
| 670 | OPTION(1, 1682 /* -final_output */, final_output, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 671 | "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) |
| 672 | OPTION(1, 1696 /* -fixup_chains_section */, fixup_chains_section, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 673 | "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) |
| 674 | OPTION(1, 1718 /* -fixup_chains */, fixup_chains, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 675 | "Emit chained fixups" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 676 | OPTION(1, 1732 /* -flat_namespace */, flat_namespace, Flag, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 677 | "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) |
| 678 | OPTION(1, 1748 /* -flto-codegen-only */, flto_codegen_only, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 679 | "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) |
| 680 | OPTION(1, 1767 /* -force_cpusubtype_ALL */, force_cpusubtype_ALL, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 681 | "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) |
| 682 | OPTION(1, 1789 /* -force_flat_namespace */, force_flat_namespace, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 683 | "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) |
| 684 | OPTION(1, 1811 /* -force_load_swift_libs */, force_load_swift_libs, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 685 | "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) |
| 686 | OPTION(1, 1834 /* -force_load */, force_load, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 687 | "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) |
| 688 | OPTION(1, 1846 /* -force_symbol_not_weak */, force_symbol_not_weak, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 689 | "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) |
| 690 | OPTION(1, 1869 /* -force_symbol_weak */, force_symbol_weak, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 691 | "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) |
| 692 | OPTION(1, 1888 /* -force_symbols_coalesce_list */, force_symbols_coalesce_list, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 693 | "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) |
| 694 | OPTION(1, 1917 /* -force_symbols_not_weak_list */, force_symbols_not_weak_list, Separate, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 695 | "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) |
| 696 | OPTION(1, 1946 /* -force_symbols_weak_list */, force_symbols_weak_list, Separate, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 697 | "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) |
| 698 | OPTION(1, 1971 /* -framework */, framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 699 | "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) |
| 700 | OPTION(1, 1982 /* -function_starts */, function_starts, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 701 | "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) |
| 702 | OPTION(1, 1999 /* -fvmlib */, fvmlib, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 703 | "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) |
| 704 | OPTION(1, 2007 /* -F */, F, JoinedOrSeparate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 705 | "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) |
| 706 | OPTION(1, 2010 /* -headerpad_max_install_names */, headerpad_max_install_names, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 707 | "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) |
| 708 | OPTION(1, 2039 /* -headerpad */, headerpad, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 709 | "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) |
| 710 | OPTION(6, 2050 /* --help-hidden */, help_hidden, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 711 | "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) |
| 712 | 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) |
| 713 | OPTION(1, 2070 /* -hidden-l */, hidden_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 714 | "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) |
| 715 | OPTION(6, 2080 /* --icf= */, icf_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 716 | "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) |
| 717 | OPTION(6, 2087 /* --ignore-auto-link-option= */, ignore_auto_link_option_eq, Joined, grp_lld, ignore_auto_link_option, nullptr, 0, DefaultVis, 0, |
| 718 | "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) |
| 719 | 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) |
| 720 | OPTION(1, 2140 /* -ignore_auto_link */, ignore_auto_link, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 721 | "Ignore LC_LINKER_OPTIONs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 722 | OPTION(1, 2158 /* -ignore_optimization_hints */, ignore_optimization_hints, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 723 | "Ignore Linker Optimization Hints" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 724 | OPTION(1, 2185 /* -image_base */, image_base, Separate, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 725 | "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) |
| 726 | OPTION(1, 2197 /* -init_offsets */, init_offsets, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 727 | "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) |
| 728 | OPTION(1, 2211 /* -init */, init, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 729 | "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) |
| 730 | OPTION(1, 2217 /* -install_name */, install_name, Separate, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 731 | "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) |
| 732 | OPTION(1, 2231 /* -interposable_list */, interposable_list, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 733 | "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) |
| 734 | OPTION(1, 2250 /* -interposable */, interposable, Flag, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 735 | "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) |
| 736 | OPTION(1, 2264 /* -ios_simulator_version_min */, ios_simulator_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 737 | "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) |
| 738 | OPTION(1, 2291 /* -ios_version_min */, ios_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 739 | "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) |
| 740 | OPTION(1, 2308 /* -iosmac_version_min */, iosmac_version_min, Separate, grp_version, maccatalyst_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 741 | "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) |
| 742 | OPTION(1, 2328 /* -iphoneos_version_min */, iphoneos_version_min, Separate, grp_version, ios_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 743 | "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) |
| 744 | OPTION(6, 2350 /* --irpgo-profile-sort= */, irpgo_profile_sort_eq, Joined, grp_lld, irpgo_profile_sort, nullptr, 0, DefaultVis, 0, |
| 745 | "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) |
| 746 | 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) |
| 747 | OPTION(6, 2393 /* --irpgo-profile= */, irpgo_profile_eq, Joined, grp_lld, irpgo_profile, nullptr, 0, DefaultVis, 0, |
| 748 | "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) |
| 749 | 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) |
| 750 | OPTION(1, 2426 /* -i */, i, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 751 | "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) |
| 752 | OPTION(6, 2429 /* --keep-icf-stabs */, keep_icf_stabs, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 753 | "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) |
| 754 | OPTION(1, 2446 /* -keep_dwarf_unwind */, keep_dwarf_unwind, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 755 | "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) |
| 756 | OPTION(1, 2465 /* -keep_private_externs */, keep_private_externs, Flag, grp_object, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 757 | "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) |
| 758 | OPTION(1, 2487 /* -keep_relocs */, keep_relocs, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 759 | "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) |
| 760 | OPTION(1, 2500 /* -kext_objects_dir */, kext_objects_dir, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 761 | "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) |
| 762 | OPTION(1, 2518 /* -kexts_use_stubs */, kexts_use_stubs, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 763 | "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) |
| 764 | OPTION(1, 2535 /* -kext */, kext, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 765 | "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) |
| 766 | OPTION(1, 2541 /* -lazy-l */, lazy_l, Joined, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 767 | "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) |
| 768 | OPTION(1, 2549 /* -lazy_framework */, lazy_framework, Separate, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 769 | "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) |
| 770 | OPTION(1, 2565 /* -lazy_library */, lazy_library, Separate, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 771 | "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) |
| 772 | OPTION(6, 2579 /* --load-pass-plugin= */, load_pass_plugins_eq, Joined, grp_lld, load_pass_plugins, nullptr, 0, DefaultVis, 0, |
| 773 | "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) |
| 774 | 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) |
| 775 | OPTION(1, 2618 /* -load_hidden */, load_hidden, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 776 | "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) |
| 777 | OPTION(6, 2631 /* --lto-CGO */, lto_CGO, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 778 | "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) |
| 779 | OPTION(6, 2641 /* --lto-debug-pass-manager */, lto_debug_pass_manager, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 780 | "Debug new pass manager" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 781 | OPTION(6, 2666 /* --lto-newpm-passes= */, lto_newpm_passes, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 782 | "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) |
| 783 | OPTION(6, 2686 /* --lto-O */, lto_O, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 784 | "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) |
| 785 | OPTION(1, 2694 /* -lto_library */, lto_library, Separate, grp_obsolete, INVALID, nullptr, 0, DefaultVis, 0, |
| 786 | "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) |
| 787 | OPTION(1, 2707 /* -L */, L, JoinedOrSeparate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 788 | "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) |
| 789 | OPTION(1, 2710 /* -l */, l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 790 | "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) |
| 791 | OPTION(1, 2713 /* -maccatalyst_version_min */, maccatalyst_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 792 | "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) |
| 793 | OPTION(1, 2738 /* -macos_version_min */, macos_version_min, Separate, grp_version, INVALID, nullptr, 0, DefaultVis, 0, |
| 794 | "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) |
| 795 | OPTION(1, 2757 /* -macosx_version_min */, macosx_version_min, Separate, grp_version, macos_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 796 | "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) |
| 797 | OPTION(1, 2777 /* -map */, map, Separate, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 798 | "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) |
| 799 | OPTION(1, 2782 /* -mark_dead_strippable_dylib */, mark_dead_strippable_dylib, Flag, grp_dylib, INVALID, nullptr, 0, DefaultVis, 0, |
| 800 | "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) |
| 801 | OPTION(1, 2810 /* -max_default_common_align */, max_default_common_align, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 802 | "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) |
| 803 | OPTION(1, 2836 /* -max_relative_cache_size_lto */, max_relative_cache_size_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 804 | "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) |
| 805 | OPTION(1, 2865 /* -mcpu */, mcpu, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 806 | "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) |
| 807 | OPTION(1, 2871 /* -merge_zero_fill_sections */, merge_zero_fill_sections, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 808 | "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) |
| 809 | OPTION(1, 2897 /* -mllvm */, mllvm, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 810 | "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) |
| 811 | OPTION(1, 2904 /* -move_to_ro_segment */, move_to_ro_segment, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 812 | "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) |
| 813 | OPTION(1, 2924 /* -move_to_rw_segment */, move_to_rw_segment, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 814 | "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) |
| 815 | OPTION(1, 2944 /* -multi_module */, multi_module, Flag, grp_rare, interposable, nullptr, HelpHidden, DefaultVis, 0, |
| 816 | "Alias for -interposable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 817 | OPTION(1, 2958 /* -multiply_defined_unused */, multiply_defined_unused, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 818 | "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) |
| 819 | OPTION(1, 2983 /* -multiply_defined */, multiply_defined, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 820 | "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) |
| 821 | OPTION(1, 3001 /* -M */, M, Flag, grp_ignored, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 822 | "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) |
| 823 | OPTION(1, 3004 /* -m */, m, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 824 | "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) |
| 825 | OPTION(1, 3007 /* -needed-l */, needed_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 826 | "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) |
| 827 | OPTION(1, 3017 /* -needed_framework */, needed_framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 828 | "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) |
| 829 | OPTION(1, 3035 /* -needed_library */, needed_library, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 830 | "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) |
| 831 | OPTION(1, 3051 /* -new_linker */, new_linker, Flag, grp_ignored, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 832 | "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) |
| 833 | OPTION(6, 3063 /* --no-bp-compression-sort-startup-functions */, no_bp_compression_sort_startup_functions, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 834 | "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) |
| 835 | OPTION(6, 3106 /* --no-call-graph-profile-sort */, no_call_graph_profile_sort, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 836 | "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) |
| 837 | OPTION(6, 3135 /* --no-color-diagnostics */, no_color_diagnostics, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 838 | "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) |
| 839 | OPTION(6, 3158 /* --no-compression-sort-startup-functions */, no_compression_sort_startup_functions, Flag, grp_lld, no_bp_compression_sort_startup_functions, nullptr, 0, DefaultVis, 0, |
| 840 | "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) |
| 841 | OPTION(6, 3198 /* --no-deduplicate-strings */, no_deduplicate_strings, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 842 | "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) |
| 843 | OPTION(1, 3223 /* -no-deduplicate-symbol-strings */, no_deduplicate_symbol_strings, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 844 | "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) |
| 845 | OPTION(6, 3254 /* --no-pgo-warn-mismatch */, no_pgo_warn_mismatch, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 846 | "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) |
| 847 | OPTION(6, 3277 /* --no-warn-duplicate-rpath */, no_warn_duplicate_rpath, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 848 | "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) |
| 849 | OPTION(6, 3303 /* --no-warn-dylib-install-name */, no_warn_dylib_install_name, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 850 | "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) |
| 851 | OPTION(6, 3332 /* --no-warn-thin-archive-missing-members */, no_warn_thin_archive_missing_members, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 852 | "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) |
| 853 | OPTION(1, 3371 /* -no_adhoc_codesign */, no_adhoc_codesign, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 854 | "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) |
| 855 | OPTION(1, 3390 /* -no_application_extension */, no_application_extension, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 856 | "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) |
| 857 | OPTION(1, 3416 /* -no_arch_warnings */, no_arch_warnings, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 858 | "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) |
| 859 | OPTION(1, 3434 /* -no_branch_islands */, no_branch_islands, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 860 | "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) |
| 861 | OPTION(1, 3453 /* -no_compact_linkedit */, no_compact_linkedit, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 862 | "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) |
| 863 | OPTION(1, 3474 /* -no_compact_unwind */, no_compact_unwind, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 864 | "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) |
| 865 | OPTION(1, 3493 /* -no_data_const */, no_data_const, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 866 | "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) |
| 867 | OPTION(1, 3508 /* -no_data_in_code_info */, no_data_in_code_info, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 868 | "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) |
| 869 | OPTION(1, 3530 /* -no_dead_strip_inits_and_terms */, no_dead_strip_inits_and_terms, Flag, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 870 | "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) |
| 871 | OPTION(1, 3561 /* -no_deduplicate */, no_deduplicate, Flag, grp_opts, icf_eq, "none\0" , 0, DefaultVis, 0, |
| 872 | "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) |
| 873 | OPTION(1, 3577 /* -no_dependent_dr_info */, no_dependent_dr_info, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 874 | "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) |
| 875 | OPTION(1, 3599 /* -no_dtrace_dof */, no_dtrace_dof, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 876 | "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) |
| 877 | OPTION(1, 3614 /* -no_eh_labels */, no_eh_labels, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 878 | "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) |
| 879 | OPTION(1, 3628 /* -no_encryption */, no_encryption, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 880 | "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) |
| 881 | OPTION(1, 3643 /* -no_exported_symbols */, no_exported_symbols, Flag, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 882 | "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) |
| 883 | OPTION(1, 3664 /* -no_fixup_chains */, no_fixup_chains, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 884 | "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) |
| 885 | OPTION(1, 3681 /* -no_function_starts */, no_function_starts, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 886 | "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) |
| 887 | OPTION(1, 3701 /* -no_implicit_dylibs */, no_implicit_dylibs, Flag, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 888 | "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) |
| 889 | OPTION(1, 3721 /* -no_inits */, no_inits, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 890 | "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) |
| 891 | OPTION(1, 3731 /* -no_keep_dwarf_unwind */, no_keep_dwarf_unwind, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 892 | "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) |
| 893 | OPTION(1, 3753 /* -no_kext_objects */, no_kext_objects, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 894 | "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) |
| 895 | OPTION(1, 3770 /* -no_new_main */, no_new_main, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 896 | "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) |
| 897 | OPTION(1, 3783 /* -no_objc_category_merging */, no_objc_category_merging, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 898 | "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) |
| 899 | OPTION(1, 3809 /* -no_objc_relative_method_lists */, no_objc_relative_method_lists, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 900 | "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) |
| 901 | OPTION(1, 3840 /* -no_order_data */, no_order_data, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 902 | "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) |
| 903 | OPTION(1, 3855 /* -no_order_inits */, no_order_inits, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 904 | "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) |
| 905 | OPTION(1, 3871 /* -no_pie */, no_pie, Flag, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 906 | "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) |
| 907 | OPTION(1, 3879 /* -no_source_version */, no_source_version, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 908 | "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) |
| 909 | OPTION(1, 3898 /* -no_uuid */, no_uuid, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 910 | "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) |
| 911 | OPTION(1, 3907 /* -no_warn_duplicate_libraries */, no_warn_duplicate_libraries, Flag, grp_ignored_silently, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 912 | "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) |
| 913 | OPTION(1, 3936 /* -no_warn_inits */, no_warn_inits, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 914 | "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) |
| 915 | OPTION(1, 3951 /* -no_weak_exports */, no_weak_exports, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 916 | "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) |
| 917 | OPTION(1, 3968 /* -no_weak_imports */, no_weak_imports, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 918 | "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) |
| 919 | OPTION(1, 3985 /* -no_zero_fill_sections */, no_zero_fill_sections, Flag, grp_opts, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 920 | "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) |
| 921 | OPTION(1, 4008 /* -noall_load */, noall_load, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 922 | "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) |
| 923 | OPTION(1, 4020 /* -nofixprebinding */, nofixprebinding, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 924 | "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) |
| 925 | OPTION(1, 4037 /* -nomultidefs */, nomultidefs, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 926 | "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) |
| 927 | OPTION(1, 4050 /* -non_global_symbols_no_strip_list */, non_global_symbols_no_strip_list, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 928 | "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) |
| 929 | OPTION(1, 4084 /* -non_global_symbols_strip_list */, non_global_symbols_strip_list, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 930 | "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) |
| 931 | OPTION(1, 4115 /* -noprebind_all_twolevel_modules */, noprebind_all_twolevel_modules, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 932 | "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) |
| 933 | OPTION(1, 4147 /* -noprebind */, noprebind, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 934 | "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) |
| 935 | OPTION(1, 4158 /* -noseglinkedit */, noseglinkedit, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 936 | "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) |
| 937 | OPTION(1, 4173 /* -not_for_dyld_shared_cache */, not_for_dyld_shared_cache, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 938 | "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) |
| 939 | OPTION(1, 4200 /* -objc_abi_version */, objc_abi_version, Separate, grp_ignored_silently, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 940 | "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) |
| 941 | OPTION(1, 4218 /* -objc_category_merging */, objc_category_merging, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 942 | "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) |
| 943 | OPTION(1, 4241 /* -objc_gc_compaction */, objc_gc_compaction, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 944 | "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) |
| 945 | OPTION(1, 4261 /* -objc_gc_only */, objc_gc_only, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 946 | "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) |
| 947 | OPTION(1, 4275 /* -objc_gc */, objc_gc, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 948 | "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) |
| 949 | OPTION(1, 4284 /* -objc_relative_method_lists */, objc_relative_method_lists, Flag, grp_undocumented, INVALID, nullptr, 0, DefaultVis, 0, |
| 950 | "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) |
| 951 | OPTION(1, 4312 /* -objc_stubs_fast */, objc_stubs_fast, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 952 | "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) |
| 953 | OPTION(1, 4329 /* -objc_stubs_small */, objc_stubs_small, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 954 | "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) |
| 955 | OPTION(1, 4347 /* -ObjC */, ObjC, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 956 | "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) |
| 957 | OPTION(1, 4353 /* -object_path_lto */, object_path_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 958 | "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) |
| 959 | OPTION(1, 4370 /* -order_file_statistics */, order_file_statistics, Flag, grp_introspect, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 960 | "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) |
| 961 | OPTION(1, 4393 /* -order_file */, order_file, Separate, grp_opts, INVALID, nullptr, 0, DefaultVis, 0, |
| 962 | "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) |
| 963 | OPTION(1, 4405 /* -oso_prefix */, oso_prefix, Separate, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 964 | "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) |
| 965 | OPTION(1, 4417 /* -O */, O, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 966 | "Optimize output file size" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 967 | OPTION(1, 4420 /* -o */, o, Separate, grp_kind, INVALID, nullptr, 0, DefaultVis, 0, |
| 968 | "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) |
| 969 | OPTION(1, 4423 /* -page_align_data_atoms */, page_align_data_atoms, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 970 | "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) |
| 971 | OPTION(1, 4446 /* -pagezero_size */, pagezero_size, Separate, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 972 | "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) |
| 973 | OPTION(1, 4461 /* -pause */, pause, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 974 | "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) |
| 975 | OPTION(6, 4468 /* --pgo-warn-mismatch */, pgo_warn_mismatch, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 976 | "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) |
| 977 | OPTION(1, 4488 /* -pie */, pie, Flag, grp_main, INVALID, nullptr, 0, DefaultVis, 0, |
| 978 | "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) |
| 979 | OPTION(1, 4493 /* -platform_version */, platform_version, MultiArg, grp_version, INVALID, nullptr, 0, DefaultVis, 3, |
| 980 | "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) |
| 981 | OPTION(1, 4511 /* -prebind_all_twolevel_modules */, prebind_all_twolevel_modules, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 982 | "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) |
| 983 | OPTION(1, 4541 /* -prebind_allow_overlap */, prebind_allow_overlap, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 984 | "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) |
| 985 | OPTION(1, 4564 /* -prebind */, prebind, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 986 | "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) |
| 987 | OPTION(1, 4573 /* -preload */, preload, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 988 | "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) |
| 989 | OPTION(6, 4582 /* --print-dylib-search */, print_dylib_search, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 990 | "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) |
| 991 | OPTION(6, 4603 /* --print-symbol-order= */, print_symbol_order_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 992 | "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) |
| 993 | OPTION(1, 4625 /* -print_statistics */, print_statistics, Flag, grp_introspect, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 994 | "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) |
| 995 | OPTION(1, 4643 /* -private_bundle */, private_bundle, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 996 | "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) |
| 997 | OPTION(1, 4659 /* -prune_after_lto */, prune_after_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 998 | "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) |
| 999 | OPTION(1, 4676 /* -prune_interval_lto */, prune_interval_lto, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1000 | "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) |
| 1001 | OPTION(1, 4696 /* -random_uuid */, random_uuid, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1002 | "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) |
| 1003 | OPTION(1, 4709 /* -read_only_relocs */, read_only_relocs, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1004 | "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) |
| 1005 | OPTION(1, 4727 /* -read_only_stubs */, read_only_stubs, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1006 | "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) |
| 1007 | OPTION(1, 4744 /* -reexport-l */, reexport_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1008 | "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) |
| 1009 | OPTION(1, 4756 /* -reexport_framework */, reexport_framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1010 | "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) |
| 1011 | OPTION(1, 4776 /* -reexport_library */, reexport_library, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1012 | "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) |
| 1013 | OPTION(1, 4794 /* -reexported_symbols_list */, reexported_symbols_list, Separate, grp_resolve, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1014 | "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) |
| 1015 | OPTION(1, 4819 /* -rename_section */, rename_section, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 4, |
| 1016 | "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) |
| 1017 | OPTION(1, 4835 /* -rename_segment */, rename_segment, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 2, |
| 1018 | "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) |
| 1019 | OPTION(6, 4851 /* --reproduce= */, reproduce_eq, Joined, grp_lld, reproduce, nullptr, 0, DefaultVis, 0, |
| 1020 | "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) |
| 1021 | OPTION(6, 4864 /* --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) |
| 1022 | OPTION(1, 4876 /* -reproducible */, reproducible, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1023 | "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) |
| 1024 | OPTION(1, 4890 /* -root_safe */, root_safe, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1025 | "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) |
| 1026 | OPTION(1, 4901 /* -rpath */, rpath, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1027 | "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) |
| 1028 | OPTION(1, 4908 /* -run_init_lazily */, run_init_lazily, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1029 | "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) |
| 1030 | OPTION(1, 4925 /* -r */, r, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1031 | "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) |
| 1032 | OPTION(1, 4928 /* -save-temps */, save_temps, Flag, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1033 | "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) |
| 1034 | OPTION(1, 4940 /* -sdk_version */, sdk_version, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1035 | "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) |
| 1036 | OPTION(1, 4953 /* -search_dylibs_first */, search_dylibs_first, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1037 | "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) |
| 1038 | OPTION(1, 4974 /* -search_paths_first */, search_paths_first, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1039 | "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) |
| 1040 | OPTION(1, 4994 /* -sect_diff_relocs */, sect_diff_relocs, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1041 | "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) |
| 1042 | OPTION(1, 5012 /* -sectalign */, sectalign, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 3, |
| 1043 | "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) |
| 1044 | OPTION(1, 5023 /* -sectcreate */, sectcreate, MultiArg, grp_content, INVALID, nullptr, 0, DefaultVis, 3, |
| 1045 | "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) |
| 1046 | OPTION(1, 5035 /* -section_order */, section_order, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1047 | "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) |
| 1048 | OPTION(1, 5050 /* -sectobjectsymbols */, sectobjectsymbols, MultiArg, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1049 | "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) |
| 1050 | OPTION(1, 5069 /* -sectorder_detail */, sectorder_detail, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1051 | "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) |
| 1052 | OPTION(1, 5087 /* -sectorder */, sectorder, MultiArg, grp_obsolete, INVALID, nullptr, 0, DefaultVis, 3, |
| 1053 | "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) |
| 1054 | OPTION(1, 5098 /* -seg1addr */, seg1addr, Separate, grp_opts, image_base, nullptr, HelpHidden, DefaultVis, 0, |
| 1055 | "Alias for -image_base" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr) |
| 1056 | OPTION(1, 5108 /* -seg_addr_table_filename */, seg_addr_table_filename, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1057 | "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) |
| 1058 | OPTION(1, 5133 /* -seg_page_size */, seg_page_size, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1059 | "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) |
| 1060 | OPTION(1, 5148 /* -segaddr */, segaddr, MultiArg, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 2, |
| 1061 | "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) |
| 1062 | OPTION(1, 5157 /* -segalign */, segalign, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1063 | "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) |
| 1064 | OPTION(1, 5167 /* -segcreate */, segcreate, MultiArg, grp_content, sectcreate, nullptr, 0, DefaultVis, 3, |
| 1065 | "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) |
| 1066 | OPTION(1, 5178 /* -seglinkedit */, seglinkedit, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1067 | "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) |
| 1068 | OPTION(1, 5191 /* -segment_order */, segment_order, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1069 | "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) |
| 1070 | OPTION(1, 5206 /* -segprot */, segprot, MultiArg, grp_rare, INVALID, nullptr, 0, DefaultVis, 3, |
| 1071 | "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) |
| 1072 | OPTION(1, 5215 /* -segs_read_only_addr */, segs_read_only_addr, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1073 | "This option is obsolete" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr) |
| 1074 | OPTION(1, 5236 /* -segs_read_write_addr */, segs_read_write_addr, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1075 | "This option is obsolete" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<address>" , nullptr) |
| 1076 | OPTION(1, 5258 /* -setuid_safe */, setuid_safe, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1077 | "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) |
| 1078 | OPTION(1, 5271 /* -simulator_support */, simulator_support, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1079 | "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) |
| 1080 | OPTION(1, 5290 /* -single_module */, single_module, Flag, grp_deprecated, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1081 | "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) |
| 1082 | OPTION(1, 5305 /* -Si */, Si, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1083 | "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) |
| 1084 | OPTION(1, 5309 /* -slow_stubs */, slow_stubs, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1085 | "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) |
| 1086 | OPTION(1, 5321 /* -snapshot_dir */, snapshot_dir, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1087 | "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) |
| 1088 | OPTION(1, 5335 /* -Sn */, Sn, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1089 | "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) |
| 1090 | OPTION(1, 5339 /* -source_version */, source_version, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1091 | "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) |
| 1092 | OPTION(1, 5355 /* -Sp */, Sp, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1093 | "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) |
| 1094 | OPTION(1, 5359 /* -stack_addr */, stack_addr, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1095 | "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) |
| 1096 | OPTION(1, 5371 /* -stack_size */, stack_size, Separate, grp_main, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1097 | "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) |
| 1098 | OPTION(6, 5383 /* --start-lib */, start_lib, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 1099 | "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) |
| 1100 | OPTION(1, 5395 /* -static */, static, Flag, grp_kind, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1101 | "Link statically" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 1102 | OPTION(6, 5403 /* --strict-auto-link */, strict_auto_link, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1103 | "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) |
| 1104 | OPTION(1, 5422 /* -sub_library */, sub_library, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1105 | "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) |
| 1106 | OPTION(1, 5435 /* -sub_umbrella */, sub_umbrella, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1107 | "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) |
| 1108 | OPTION(1, 5449 /* -syslibroot */, syslibroot, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1109 | "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) |
| 1110 | OPTION(1, 5461 /* -S */, S, Flag, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 1111 | "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) |
| 1112 | OPTION(1, 5464 /* -s */, s, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1113 | "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) |
| 1114 | OPTION(1, 5467 /* -text_exec */, text_exec, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1115 | "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) |
| 1116 | OPTION(6, 5478 /* --thinlto-cache-policy= */, thinlto_cache_policy_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1117 | "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) |
| 1118 | OPTION(6, 5502 /* --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) |
| 1119 | OPTION(6, 5531 /* --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) |
| 1120 | OPTION(6, 5558 /* --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) |
| 1121 | OPTION(6, 5580 /* --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) |
| 1122 | OPTION(6, 5601 /* --thinlto-jobs= */, thinlto_jobs_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1123 | "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) |
| 1124 | OPTION(6, 5617 /* --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) |
| 1125 | OPTION(6, 5650 /* --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) |
| 1126 | OPTION(1, 5676 /* -threaded_starts_section */, threaded_starts_section, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1127 | "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) |
| 1128 | OPTION(6, 5701 /* --threads= */, threads_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1129 | "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) |
| 1130 | OPTION(6, 5712 /* --time-trace-granularity= */, time_trace_granularity_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1131 | "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) |
| 1132 | OPTION(6, 5738 /* --time-trace= */, time_trace_eq, Joined, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1133 | "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) |
| 1134 | OPTION(6, 5752 /* --time-trace */, anonymous_0, Flag, grp_lld, time_trace_eq, nullptr, 0, DefaultVis, 0, |
| 1135 | "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) |
| 1136 | OPTION(1, 5765 /* -trace_symbol_layout */, trace_symbol_layout, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1137 | "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) |
| 1138 | OPTION(1, 5786 /* -tvos_version_min */, tvos_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1139 | "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) |
| 1140 | OPTION(1, 5804 /* -twolevel_namespace_hints */, twolevel_namespace_hints, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1141 | "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) |
| 1142 | OPTION(1, 5830 /* -twolevel_namespace */, twolevel_namespace, Flag, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1143 | "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) |
| 1144 | OPTION(1, 5850 /* -t */, t, Flag, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1145 | "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) |
| 1146 | OPTION(1, 5853 /* -uikitformac_version_min */, uikitformac_version_min, Separate, grp_version, maccatalyst_version_min, nullptr, HelpHidden, DefaultVis, 0, |
| 1147 | "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) |
| 1148 | OPTION(1, 5878 /* -umbrella */, umbrella, Separate, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1149 | "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) |
| 1150 | OPTION(1, 5888 /* -unaligned_pointers */, unaligned_pointers, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1151 | "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) |
| 1152 | OPTION(1, 5908 /* -undefined */, undefined, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1153 | "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) |
| 1154 | OPTION(1, 5919 /* -unexported_symbols_list */, unexported_symbols_list, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1155 | "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) |
| 1156 | OPTION(1, 5944 /* -unexported_symbol */, unexported_symbol, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1157 | "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) |
| 1158 | OPTION(1, 5963 /* -upward-l */, upward_l, Joined, grp_libs, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1159 | "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) |
| 1160 | OPTION(1, 5973 /* -upward_framework */, upward_framework, Separate, grp_libs, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1161 | "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) |
| 1162 | OPTION(1, 5991 /* -upward_library */, upward_library, Separate, grp_libs, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1163 | "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) |
| 1164 | OPTION(1, 6007 /* -U */, U, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1165 | "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) |
| 1166 | OPTION(1, 6010 /* -u */, u, Separate, grp_resolve, INVALID, nullptr, 0, DefaultVis, 0, |
| 1167 | "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) |
| 1168 | OPTION(6, 6013 /* --verbose-bp-section-orderer */, verbose_bp_section_orderer, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1169 | "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) |
| 1170 | OPTION(1, 6042 /* -verbose_deduplicate */, verbose_deduplicate, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1171 | "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) |
| 1172 | OPTION(1, 6063 /* -verbose_optimization_hints */, verbose_optimization_hints, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1173 | "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) |
| 1174 | OPTION(6, 6091 /* --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) |
| 1175 | OPTION(1, 6101 /* -version_details */, version_details, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1176 | "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) |
| 1177 | OPTION(1, 6118 /* -version_load_command */, version_load_command, Flag, grp_undocumented, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1178 | "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) |
| 1179 | OPTION(6, 6140 /* --version */, version, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1180 | "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) |
| 1181 | OPTION(1, 6150 /* -v */, v, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1182 | "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) |
| 1183 | OPTION(6, 6153 /* --warn-duplicate-rpath */, warn_duplicate_rpath, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1184 | "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) |
| 1185 | OPTION(6, 6176 /* --warn-dylib-install-name */, warn_dylib_install_name, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1186 | "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) |
| 1187 | OPTION(6, 6202 /* --warn-thin-archive-missing-members */, warn_thin_archive_missing_members, Flag, grp_lld, INVALID, nullptr, 0, DefaultVis, 0, |
| 1188 | "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) |
| 1189 | OPTION(1, 6238 /* -warn_commons */, warn_commons, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1190 | "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) |
| 1191 | OPTION(1, 6252 /* -warn_compact_unwind */, warn_compact_unwind, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1192 | "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) |
| 1193 | OPTION(1, 6273 /* -warn_stabs */, warn_stabs, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1194 | "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) |
| 1195 | OPTION(1, 6285 /* -warn_weak_exports */, warn_weak_exports, Flag, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1196 | "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) |
| 1197 | OPTION(1, 6304 /* -watchos_version_min */, watchos_version_min, Separate, grp_version, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1198 | "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) |
| 1199 | OPTION(1, 6325 /* -weak-l */, weak_l, Joined, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1200 | "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) |
| 1201 | OPTION(1, 6333 /* -weak_framework */, weak_framework, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1202 | "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) |
| 1203 | OPTION(1, 6349 /* -weak_library */, weak_library, Separate, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1204 | "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) |
| 1205 | OPTION(1, 6363 /* -weak_reference_mismatches */, weak_reference_mismatches, Separate, grp_rare, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1206 | "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) |
| 1207 | OPTION(1, 6390 /* -whatsloaded */, whatsloaded, Flag, grp_introspect, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1208 | "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) |
| 1209 | OPTION(1, 6403 /* -why_live */, why_live, Separate, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1210 | "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) |
| 1211 | OPTION(1, 6413 /* -why_load */, why_load, Flag, grp_introspect, INVALID, nullptr, 0, DefaultVis, 0, |
| 1212 | "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) |
| 1213 | OPTION(1, 6423 /* -whyload */, whyload, Flag, grp_introspect, why_load, nullptr, 0, DefaultVis, 0, |
| 1214 | "Alias for -why_load" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 1215 | OPTION(1, 6432 /* -w */, w, Flag, grp_rare, INVALID, nullptr, 0, DefaultVis, 0, |
| 1216 | "Suppress all warnings" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 1217 | OPTION(1, 6435 /* -X */, X, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1218 | "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) |
| 1219 | OPTION(1, 6438 /* -x */, x, Flag, grp_symtab, INVALID, nullptr, 0, DefaultVis, 0, |
| 1220 | "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) |
| 1221 | OPTION(1, 6441 /* -Y */, Y, Separate, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1222 | "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) |
| 1223 | OPTION(1, 6444 /* -y */, y, Joined, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 1224 | "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) |
| 1225 | OPTION(1, 6447 /* -Z */, Z, Flag, grp_libs, INVALID, nullptr, 0, DefaultVis, 0, |
| 1226 | "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) |
| 1227 | #endif // OPTION |
| 1228 | |
| 1229 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 1230 | |
| 1231 | struct SimpleEnumValue { |
| 1232 | const char *Name; |
| 1233 | unsigned Value; |
| 1234 | }; |
| 1235 | |
| 1236 | struct SimpleEnumValueTable { |
| 1237 | const SimpleEnumValue *Table; |
| 1238 | unsigned Size; |
| 1239 | }; |
| 1240 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 1241 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 1242 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 1243 | |
| 1244 | |
| 1245 | |