Lines Matching refs:options
82 namespace options
222 Command_line* cmdline, General_options* options) = 0;
242 Command_line* cmdline, General_options* options) in parse_to_value()
243 { (options->*(this->parse))(option, arg, cmdline); } in parse_to_value()
280 struct Struct_##varname__ : public options::Struct_var \
296 options::One_option option; \
314 false, bool, bool, options::parse_bool) \
315 struct Struct_no_##varname__ : public options::Struct_var \
317 Struct_no_##varname__() : option((dashes__ == options::DASH_Z \
327 Command_line*, General_options* options) \
329 options->set_##varname__(false); \
330 options->set_user_set_##varname__(); \
333 options::One_option option; \
341 false, bool, bool, options::parse_bool) \
342 struct Struct_disable_##varname__ : public options::Struct_var \
352 Command_line*, General_options* options) \
353 { options->set_enable_##varname__(false); } \
355 options::One_option option; \
363 int, int, options::parse_int)
369 int, int, options::parse_uint)
375 uint64_t, uint64_t, options::parse_uint64)
381 double, double, options::parse_double)
387 double, double, options::parse_percent)
393 const char*, const char*, options::parse_string)
401 "", helpstring__, helparg__, false, options::Dir_list, \
402 const options::Dir_list&, options::parse_dirlist) \
405 { options::parse_dirlist(NULL, new_value, &this->varname__##_.value); } \
414 "", helpstring__, helparg__, false, options::String_set, \
415 const options::String_set&, options::parse_set) \
429 options::String_set::const_iterator \
433 options::String_set::const_iterator \
450 options::parse_choices(option_name, arg, retval, \
460 struct Struct_##option__ : public options::Struct_var \
469 Command_line*, General_options* options) \
471 options->set_##varname__(!invert__); \
472 options->set_user_set_##varname__(); \
475 options::One_option option; \
479 struct Struct_no_##option__ : public options::Struct_var \
482 : option((dashes__ == options::DASH_Z \
491 Command_line*, General_options* options) \
493 options->set_##varname__(invert__); \
494 options->set_user_set_##varname__(); \
497 options::One_option option; \
506 struct Struct_##option__ : public options::Struct_var \
515 Command_line*, General_options* options) \
518 options::parse_uint64(option_name, arg, &value); \
519 options->set_##varname__(value); \
520 options->set_user_set_##varname__(); \
523 options::One_option option; \
537 struct Struct_##varname__ : public options::Struct_special \
540 : options::Struct_special(#varname__, dashes__, shortname__, \
555 const char*, const char*, options::parse_optional_string)
622 DEFINE_special(help, options::TWO_DASHES, '\0',
624 DEFINE_special(version, options::TWO_DASHES, 'v',
626 DEFINE_special(V, options::EXACTLY_ONE_DASH, '\0',
635 DEFINE_bool(add_needed, options::TWO_DASHES, '\0', false,
639 DEFINE_bool_alias(allow_multiple_definition, muldefs, options::TWO_DASHES,
643 DEFINE_bool(allow_shlib_undefined, options::TWO_DASHES, '\0', false,
649 DEFINE_bool(apply_dynamic_relocs, options::TWO_DASHES, '\0', false,
654 DEFINE_bool(as_needed, options::TWO_DASHES, '\0', false,
658 DEFINE_enum(assert, options::ONE_DASH, '\0', NULL,
666 DEFINE_string(format, options::TWO_DASHES, 'b', "elf",
669 DEFINE_bool(Bdynamic, options::ONE_DASH, '\0', true,
671 DEFINE_bool_alias(Bstatic, Bdynamic, options::ONE_DASH, '\0',
674 DEFINE_bool_alias(dy, Bdynamic, options::ONE_DASH, '\0',
676 DEFINE_bool_alias(dn, Bdynamic, options::ONE_DASH, '\0',
679 DEFINE_bool(Bgroup, options::ONE_DASH, '\0', false,
682 DEFINE_bool(Bsymbolic, options::ONE_DASH, '\0', false,
685 DEFINE_bool(Bsymbolic_functions, options::ONE_DASH, '\0', false,
688 DEFINE_optional_string(build_id, options::TWO_DASHES, '\0', "tree",
693 options::TWO_DASHES, '\0', 2 << 20,
696 DEFINE_uint64(build_id_min_file_size_for_treehash, options::TWO_DASHES,
701 DEFINE_bool(check_sections, options::TWO_DASHES, '\0', true,
706 DEFINE_enum(compress_debug_sections, options::TWO_DASHES, '\0', "none",
711 DEFINE_enum(compress_debug_sections, options::TWO_DASHES, '\0', "none",
717 DEFINE_bool(copy_dt_needed_entries, options::TWO_DASHES, '\0', false,
721 DEFINE_bool(cref, options::TWO_DASHES, '\0', false,
725 DEFINE_bool(ctors_in_init_array, options::TWO_DASHES, '\0', true,
729 DEFINE_bool(define_common, options::TWO_DASHES, 'd', false,
732 DEFINE_bool(dc, options::ONE_DASH, '\0', false,
734 DEFINE_bool(dp, options::ONE_DASH, '\0', false,
737 DEFINE_string(debug, options::TWO_DASHES, '\0', "",
741 DEFINE_special(defsym, options::TWO_DASHES, '\0',
744 DEFINE_optional_string(demangle, options::TWO_DASHES, '\0', NULL,
748 DEFINE_bool(no_demangle, options::TWO_DASHES, '\0', false,
752 DEFINE_bool(detect_odr_violations, options::TWO_DASHES, '\0', false,
756 DEFINE_bool(discard_all, options::TWO_DASHES, 'x', false,
758 DEFINE_bool(discard_locals, options::TWO_DASHES, 'X', false,
761 DEFINE_bool(dynamic_list_data, options::TWO_DASHES, '\0', false,
764 DEFINE_bool(dynamic_list_cpp_new, options::TWO_DASHES, '\0', false,
767 DEFINE_bool(dynamic_list_cpp_typeinfo, options::TWO_DASHES, '\0', false,
770 DEFINE_special(dynamic_list, options::TWO_DASHES, '\0',
773 DEFINE_string(entry, options::TWO_DASHES, 'e', NULL,
776 DEFINE_special(exclude_libs, options::TWO_DASHES, '\0',
780 DEFINE_bool(export_dynamic, options::TWO_DASHES, 'E', false,
784 DEFINE_set(export_dynamic_symbol, options::TWO_DASHES, '\0',
787 DEFINE_special(EB, options::ONE_DASH, '\0',
790 DEFINE_special(EL, options::ONE_DASH, '\0',
793 DEFINE_bool(eh_frame_hdr, options::TWO_DASHES, '\0', false,
796 DEFINE_bool(enum_size_warning, options::TWO_DASHES, '\0', true, NULL,
800 DEFINE_set(auxiliary, options::TWO_DASHES, 'f',
804 DEFINE_string(filter, options::TWO_DASHES, 'F', NULL,
808 DEFINE_bool(fatal_warnings, options::TWO_DASHES, '\0', false,
812 DEFINE_string(fini, options::ONE_DASH, '\0', "_fini",
815 DEFINE_bool(fix_cortex_a8, options::TWO_DASHES, '\0', false,
819 DEFINE_bool(fix_cortex_a53_843419, options::TWO_DASHES, '\0', false,
823 DEFINE_bool(fix_cortex_a53_835769, options::TWO_DASHES, '\0', false,
827 DEFINE_bool(fix_arm1176, options::TWO_DASHES, '\0', true,
831 DEFINE_bool(merge_exidx_entries, options::TWO_DASHES, '\0', true,
835 DEFINE_special(fix_v4bx, options::TWO_DASHES, '\0',
839 DEFINE_special(fix_v4bx_interworking, options::TWO_DASHES, '\0',
844 DEFINE_bool(g, options::EXACTLY_ONE_DASH, '\0', false,
847 DEFINE_bool(gdb_index, options::TWO_DASHES, '\0', false,
851 DEFINE_bool(gnu_unique, options::TWO_DASHES, '\0', true,
855 DEFINE_string(soname, options::ONE_DASH, 'h', NULL,
858 DEFINE_double(hash_bucket_empty_fraction, options::TWO_DASHES, '\0', 0.0,
862 DEFINE_enum(hash_style, options::TWO_DASHES, '\0', "sysv",
866 DEFINE_string(dynamic_linker, options::TWO_DASHES, 'I', NULL,
869 DEFINE_special(incremental, options::TWO_DASHES, '\0',
874 DEFINE_special(no_incremental, options::TWO_DASHES, '\0',
877 DEFINE_special(incremental_full, options::TWO_DASHES, '\0',
881 DEFINE_special(incremental_update, options::TWO_DASHES, '\0',
884 DEFINE_string(incremental_base, options::TWO_DASHES, '\0', NULL,
889 DEFINE_special(incremental_changed, options::TWO_DASHES, '\0',
892 DEFINE_special(incremental_unchanged, options::TWO_DASHES, '\0',
895 DEFINE_special(incremental_unknown, options::TWO_DASHES, '\0',
898 DEFINE_special(incremental_startup_unchanged, options::TWO_DASHES, '\0',
902 DEFINE_percent(incremental_patch, options::TWO_DASHES, '\0', 10,
906 DEFINE_string(init, options::ONE_DASH, '\0', "_init",
909 DEFINE_special(just_symbols, options::TWO_DASHES, '\0',
912 DEFINE_bool(map_whole_files, options::TWO_DASHES, '\0',
917 DEFINE_bool(keep_files_mapped, options::TWO_DASHES, '\0', true,
921 DEFINE_bool(ld_generated_unwind_info, options::TWO_DASHES, '\0', true,
925 DEFINE_special(library, options::TWO_DASHES, 'l',
928 DEFINE_dirlist(library_path, options::TWO_DASHES, 'L',
931 DEFINE_bool(text_reorder, options::TWO_DASHES, '\0', true,
936 DEFINE_bool(nostdlib, options::ONE_DASH, '\0', false,
940 DEFINE_bool(rosegment, options::TWO_DASHES, '\0', false,
944 DEFINE_uint64(rosegment_gap, options::TWO_DASHES, '\0', -1U,
948 DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "",
951 DEFINE_bool(mmap_output_file, options::TWO_DASHES, '\0', true,
955 DEFINE_bool(print_map, options::TWO_DASHES, 'M', false,
957 DEFINE_string(Map, options::ONE_DASH, '\0', NULL, N_("Write map file"),
960 DEFINE_bool(nmagic, options::TWO_DASHES, 'n', false,
962 DEFINE_bool(omagic, options::EXACTLY_TWO_DASHES, 'N', false,
966 DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', false,
970 DEFINE_bool(noinhibit_exec, options::TWO_DASHES, '\0', false,
973 DEFINE_bool_alias(no_undefined, defs, options::TWO_DASHES, '\0',
977 DEFINE_string(output, options::TWO_DASHES, 'o', "a.out",
980 DEFINE_uint(optimize, options::EXACTLY_ONE_DASH, 'O', 0,
983 DEFINE_string(oformat, options::EXACTLY_TWO_DASHES, '\0', "elf",
986 DEFINE_bool(p, options::ONE_DASH, '\0', false,
989 DEFINE_bool(pie, options::ONE_DASH, '\0', false,
992 DEFINE_bool_alias(pic_executable, pie, options::TWO_DASHES, '\0',
998 options::TWO_DASHES, '\0', true,
1004 DEFINE_bool(pic_veneer, options::TWO_DASHES, '\0', false,
1008 DEFINE_bool(pipeline_knowledge, options::ONE_DASH, '\0', false,
1011 DEFINE_var(plt_align, options::TWO_DASHES, '\0', 0, "5",
1013 N_("[=P2ALIGN]"), true, int, int, options::parse_uint);
1015 DEFINE_bool(plt_static_chain, options::TWO_DASHES, '\0', false,
1019 DEFINE_bool(plt_thread_safe, options::TWO_DASHES, '\0', false,
1024 DEFINE_special(plugin, options::TWO_DASHES, '\0',
1026 DEFINE_special(plugin_opt, options::TWO_DASHES, '\0',
1030 DEFINE_bool(posix_fallocate, options::TWO_DASHES, '\0', true,
1035 DEFINE_bool(preread_archive_symbols, options::TWO_DASHES, '\0', false,
1038 DEFINE_bool(print_output_format, options::TWO_DASHES, '\0', false,
1041 DEFINE_string(print_symbol_counts, options::TWO_DASHES, '\0', NULL,
1045 DEFINE_bool(Qy, options::EXACTLY_ONE_DASH, '\0', false,
1048 DEFINE_bool(emit_relocs, options::TWO_DASHES, 'q', false,
1051 DEFINE_bool(relocatable, options::EXACTLY_ONE_DASH, 'r', false,
1053 DEFINE_bool_alias(i, relocatable, options::EXACTLY_ONE_DASH, '\0',
1056 DEFINE_bool(relax, options::TWO_DASHES, '\0', false,
1059 DEFINE_string(retain_symbols_file, options::TWO_DASHES, '\0', NULL,
1065 DEFINE_special(R, options::EXACTLY_ONE_DASH, 'R',
1068 DEFINE_dirlist(rpath, options::ONE_DASH, '\0',
1071 DEFINE_dirlist(rpath_link, options::TWO_DASHES, '\0',
1075 DEFINE_string(section_ordering_file, options::TWO_DASHES, '\0', NULL,
1079 DEFINE_special(section_start, options::TWO_DASHES, '\0',
1082 DEFINE_optional_string(sort_common, options::TWO_DASHES, '\0', NULL,
1086 DEFINE_enum(sort_section, options::TWO_DASHES, '\0', "none",
1092 DEFINE_uint(spare_dynamic_tags, options::TWO_DASHES, '\0', 5,
1096 DEFINE_bool(strip_all, options::TWO_DASHES, 's', false,
1098 DEFINE_bool(strip_debug, options::TWO_DASHES, 'S', false,
1100 DEFINE_bool(strip_debug_non_line, options::TWO_DASHES, '\0', false,
1102 DEFINE_bool(strip_debug_gdb, options::TWO_DASHES, '\0', false,
1105 DEFINE_bool(strip_lto_sections, options::TWO_DASHES, '\0', true,
1108 DEFINE_int(stub_group_size, options::TWO_DASHES , '\0', 1,
1115 DEFINE_bool(stub_group_auto_padding, options::TWO_DASHES , '\0', true,
1121 DEFINE_bool(no_keep_memory, options::TWO_DASHES, '\0', false,
1125 DEFINE_bool(shared, options::ONE_DASH, 'G', false,
1128 DEFINE_bool(Bshareable, options::ONE_DASH, '\0', false,
1131 DEFINE_uint(split_stack_adjust_size, options::TWO_DASHES, '\0', 0x4000,
1137 DEFINE_special(static, options::ONE_DASH, '\0',
1140 DEFINE_enum(icf, options::TWO_DASHES, '\0', "none",
1147 DEFINE_uint(icf_iterations, options::TWO_DASHES , '\0', 0,
1150 DEFINE_bool(print_icf_sections, options::TWO_DASHES, '\0', false,
1154 DEFINE_set(keep_unique, options::TWO_DASHES, '\0',
1157 DEFINE_bool(gc_sections, options::TWO_DASHES, '\0', false,
1161 DEFINE_bool(print_gc_sections, options::TWO_DASHES, '\0', false,
1165 DEFINE_bool(stats, options::TWO_DASHES, '\0', false,
1168 DEFINE_string(sysroot, options::TWO_DASHES, '\0', "",
1171 DEFINE_bool(trace, options::TWO_DASHES, 't', false,
1174 DEFINE_special(script, options::TWO_DASHES, 'T',
1177 DEFINE_bool(threads, options::TWO_DASHES, '\0', false,
1180 DEFINE_uint(thread_count, options::TWO_DASHES, '\0', 0,
1182 DEFINE_uint(thread_count_initial, options::TWO_DASHES, '\0', 0,
1184 DEFINE_uint(thread_count_middle, options::TWO_DASHES, '\0', 0,
1186 DEFINE_uint(thread_count_final, options::TWO_DASHES, '\0', 0,
1189 DEFINE_uint64(Tbss, options::ONE_DASH, '\0', -1U,
1191 DEFINE_uint64(Tdata, options::ONE_DASH, '\0', -1U,
1193 DEFINE_uint64(Ttext, options::ONE_DASH, '\0', -1U,
1195 DEFINE_uint64_alias(Ttext_segment, Ttext, options::ONE_DASH, '\0',
1198 DEFINE_uint64(Trodata_segment, options::ONE_DASH, '\0', -1U,
1201 DEFINE_bool(toc_optimize, options::TWO_DASHES, '\0', true,
1205 DEFINE_bool(toc_sort, options::TWO_DASHES, '\0', true,
1209 DEFINE_set(undefined, options::TWO_DASHES, 'u',
1212 DEFINE_enum(unresolved_symbols, options::TWO_DASHES, '\0', NULL,
1219 DEFINE_bool(verbose, options::TWO_DASHES, '\0', false,
1222 DEFINE_special(version_script, options::TWO_DASHES, '\0',
1225 DEFINE_bool(warn_common, options::TWO_DASHES, '\0', false,
1229 DEFINE_bool(warn_constructors, options::TWO_DASHES, '\0', false,
1232 DEFINE_bool(warn_execstack, options::TWO_DASHES, '\0', false,
1236 DEFINE_bool(warn_mismatch, options::TWO_DASHES, '\0', true,
1239 DEFINE_bool(warn_multiple_gp, options::TWO_DASHES, '\0', false,
1242 DEFINE_bool(warn_poison_system_directories, options::TWO_DASHES, '\0', false,
1245 DEFINE_bool(error_poison_system_directories, options::TWO_DASHES, '\0', false,
1249 DEFINE_bool(warn_search_mismatch, options::TWO_DASHES, '\0', true,
1253 DEFINE_bool(warn_shared_textrel, options::TWO_DASHES, '\0', false,
1257 DEFINE_bool(warn_unresolved_symbols, options::TWO_DASHES, '\0', false,
1261 options::TWO_DASHES, '\0',
1264 DEFINE_bool(weak_unresolved_symbols, options::TWO_DASHES, '\0', false,
1268 DEFINE_bool(wchar_size_warning, options::TWO_DASHES, '\0', true, NULL,
1272 DEFINE_bool(whole_archive, options::TWO_DASHES, '\0', false,
1276 DEFINE_set(wrap, options::TWO_DASHES, '\0',
1279 DEFINE_set(trace_symbol, options::TWO_DASHES, 'y',
1282 DEFINE_bool(undefined_version, options::TWO_DASHES, '\0', true,
1286 DEFINE_string(Y, options::EXACTLY_ONE_DASH, 'Y', "",
1290 DEFINE_special(start_group, options::TWO_DASHES, '(',
1292 DEFINE_special(end_group, options::TWO_DASHES, ')',
1296 DEFINE_special(start_lib, options::TWO_DASHES, '\0',
1298 DEFINE_special(end_lib, options::TWO_DASHES, '\0',
1301 DEFINE_string(fuse_ld, options::ONE_DASH, '\0', "",
1307 DEFINE_bool(combreloc, options::DASH_Z, '\0', true,
1310 DEFINE_uint64(common_page_size, options::DASH_Z, '\0', 0,
1312 DEFINE_bool(defs, options::DASH_Z, '\0', false,
1315 DEFINE_bool(execstack, options::DASH_Z, '\0', false,
1317 DEFINE_bool(global, options::DASH_Z, '\0', false,
1320 DEFINE_bool(initfirst, options::DASH_Z, '\0', false,
1323 DEFINE_bool(interpose, options::DASH_Z, '\0', false,
1326 DEFINE_bool_alias(lazy, now, options::DASH_Z, '\0',
1329 DEFINE_bool(loadfltr, options::DASH_Z, '\0', false,
1332 DEFINE_uint64(max_page_size, options::DASH_Z, '\0', 0,
1334 DEFINE_bool(muldefs, options::DASH_Z, '\0', false,
1339 DEFINE_bool(copyreloc, options::DASH_Z, '\0', true,
1342 DEFINE_bool(nodefaultlib, options::DASH_Z, '\0', false,
1345 DEFINE_bool(nodelete, options::DASH_Z, '\0', false,
1348 DEFINE_bool(nodlopen, options::DASH_Z, '\0', false,
1351 DEFINE_bool(nodump, options::DASH_Z, '\0', false,
1354 DEFINE_bool(noexecstack, options::DASH_Z, '\0', false,
1356 DEFINE_bool(now, options::DASH_Z, '\0', false,
1359 DEFINE_bool(origin, options::DASH_Z, '\0', false,
1362 DEFINE_bool(relro, options::DASH_Z, '\0', false,
1365 DEFINE_bool(text, options::DASH_Z, '\0', false,
1368 DEFINE_bool_alias(textoff, text, options::DASH_Z, '\0',
1373 typedef options::Dir_list Dir_list;
1703 Position_dependent_options(const General_options& options
1705 { copy_from_options(options); }
1707 void copy_from_options(const General_options& options) in copy_from_options() argument
1709 this->set_as_needed(options.as_needed()); in copy_from_options()
1710 this->set_Bdynamic(options.Bdynamic()); in copy_from_options()
1711 this->set_format_enum(options.format_enum()); in copy_from_options()
1712 this->set_whole_archive(options.whole_archive()); in copy_from_options()
1713 this->set_incremental_disposition(options.incremental_disposition()); in copy_from_options()
1763 const Position_dependent_options& options) in Input_file_argument() argument
1765 just_symbols_(just_symbols), options_(options), arg_serial_(0) in Input_file_argument()
1775 const General_options& options) in Input_file_argument() argument
1777 just_symbols_(just_symbols), options_(options), arg_serial_(0) in Input_file_argument()
1785 options() const in options() function
1979 Input_file_lib(const Position_dependent_options& options) in Input_file_lib() argument
1980 : files_(), options_(options) in Input_file_lib()
1992 options() const in options() function
2118 options() const in options() function