Lines Matching defs:InputArgs

603   llvm::opt::InputArgList InputArgs =
610 InputArgs.getArgString(MissingArgumentIndex), MissingArgumentCount);
612 if (InputArgs.size() == 0 && DashDash == RawArgsArr.end()) {
617 if (InputArgs.hasArg(OBJCOPY_help)) {
622 if (InputArgs.hasArg(OBJCOPY_version)) {
630 for (auto *Arg : InputArgs.filtered(OBJCOPY_UNKNOWN))
632 Arg->getAsString(InputArgs).c_str());
634 for (auto *Arg : InputArgs.filtered(OBJCOPY_INPUT))
652 if (InputArgs.hasArg(OBJCOPY_target) &&
653 (InputArgs.hasArg(OBJCOPY_input_target) ||
654 InputArgs.hasArg(OBJCOPY_output_target)))
659 if (InputArgs.hasArg(OBJCOPY_regex) && InputArgs.hasArg(OBJCOPY_wildcard))
663 MatchStyle SectionMatchStyle = InputArgs.hasArg(OBJCOPY_regex)
667 = InputArgs.hasArg(OBJCOPY_regex) ? MatchStyle::Regex
668 : InputArgs.hasArg(OBJCOPY_wildcard) ? MatchStyle::Wildcard
671 if (InputArgs.hasArg(OBJCOPY_target)) {
672 InputFormat = InputArgs.getLastArgValue(OBJCOPY_target);
673 OutputFormat = InputArgs.getLastArgValue(OBJCOPY_target);
675 InputFormat = InputArgs.getLastArgValue(OBJCOPY_input_target);
676 OutputFormat = InputArgs.getLastArgValue(OBJCOPY_output_target);
687 if (InputArgs.hasArg(OBJCOPY_new_symbol_visibility)) {
690 InputArgs.getLastArgValue(OBJCOPY_new_symbol_visibility);
705 for (const auto *Arg : InputArgs.filtered(OBJCOPY_subsystem)) {
764 if (const auto *A = InputArgs.getLastArg(OBJCOPY_compress_debug_sections)) {
780 for (const auto *A : InputArgs.filtered(OBJCOPY_compress_sections)) {
816 Config.AddGnuDebugLink = InputArgs.getLastArgValue(OBJCOPY_add_gnu_debuglink);
829 Config.SplitDWO = InputArgs.getLastArgValue(OBJCOPY_split_dwo);
831 Config.SymbolsPrefix = InputArgs.getLastArgValue(OBJCOPY_prefix_symbols);
833 InputArgs.getLastArgValue(OBJCOPY_remove_symbol_prefix);
836 InputArgs.getLastArgValue(OBJCOPY_prefix_alloc_sections);
837 if (auto Arg = InputArgs.getLastArg(OBJCOPY_extract_partition))
840 if (const auto *A = InputArgs.getLastArg(OBJCOPY_gap_fill)) {
857 if (const auto *A = InputArgs.getLastArg(OBJCOPY_pad_to)) {
869 if (const auto *Arg = InputArgs.getLastArg(OBJCOPY_change_section_lma)) {
877 for (auto *Arg : InputArgs.filtered(OBJCOPY_redefine_symbol)) {
888 for (auto *Arg : InputArgs.filtered(OBJCOPY_redefine_symbols))
893 for (auto *Arg : InputArgs.filtered(OBJCOPY_rename_section)) {
903 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_section_alignment)) {
910 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_section_flags)) {
921 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_section_type)) {
945 for (auto *Arg : InputArgs.filtered(OBJCOPY_remove_section))
949 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_section))
953 for (auto *Arg : InputArgs.filtered(OBJCOPY_only_section))
957 for (auto *Arg : InputArgs.filtered(OBJCOPY_add_section)) {
962 for (auto *Arg : InputArgs.filtered(OBJCOPY_update_section)) {
967 for (auto *Arg : InputArgs.filtered(OBJCOPY_dump_section)) {
975 Config.StripAll = InputArgs.hasArg(OBJCOPY_strip_all);
976 Config.StripAllGNU = InputArgs.hasArg(OBJCOPY_strip_all_gnu);
977 Config.StripDebug = InputArgs.hasArg(OBJCOPY_strip_debug);
978 Config.StripDWO = InputArgs.hasArg(OBJCOPY_strip_dwo);
979 Config.StripSections = InputArgs.hasArg(OBJCOPY_strip_sections);
980 Config.StripNonAlloc = InputArgs.hasArg(OBJCOPY_strip_non_alloc);
981 Config.StripUnneeded = InputArgs.hasArg(OBJCOPY_strip_unneeded);
982 Config.ExtractDWO = InputArgs.hasArg(OBJCOPY_extract_dwo);
984 InputArgs.hasArg(OBJCOPY_extract_main_partition);
985 ELFConfig.LocalizeHidden = InputArgs.hasArg(OBJCOPY_localize_hidden);
986 Config.Weaken = InputArgs.hasArg(OBJCOPY_weaken);
988 InputArgs.getLastArg(OBJCOPY_discard_all, OBJCOPY_discard_locals)) {
994 ELFConfig.VerifyNoteSections = InputArgs.hasFlag(
997 Config.OnlyKeepDebug = InputArgs.hasArg(OBJCOPY_only_keep_debug);
998 ELFConfig.KeepFileSymbols = InputArgs.hasArg(OBJCOPY_keep_file_symbols);
999 MachOConfig.KeepUndefined = InputArgs.hasArg(OBJCOPY_keep_undefined);
1001 InputArgs.hasArg(OBJCOPY_decompress_debug_sections);
1006 for (auto *Arg : InputArgs.filtered(OBJCOPY_localize_symbol))
1010 for (auto *Arg : InputArgs.filtered(OBJCOPY_localize_symbols))
1015 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_global_symbol))
1019 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_global_symbols))
1024 for (auto *Arg : InputArgs.filtered(OBJCOPY_globalize_symbol))
1028 for (auto *Arg : InputArgs.filtered(OBJCOPY_globalize_symbols))
1033 for (auto *Arg : InputArgs.filtered(OBJCOPY_weaken_symbol))
1037 for (auto *Arg : InputArgs.filtered(OBJCOPY_weaken_symbols))
1042 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_symbol))
1046 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_symbols))
1051 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbol))
1056 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbols))
1061 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_symbol))
1065 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_symbols))
1070 for (auto *Arg : InputArgs.filtered(OBJCOPY_skip_symbol))
1074 for (auto *Arg : InputArgs.filtered(OBJCOPY_skip_symbols))
1079 for (auto *Arg : InputArgs.filtered(OBJCOPY_add_symbol)) {
1086 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_symbol_visibility)) {
1099 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_symbols_visibility)) {
1114 ELFConfig.AllowBrokenLinks = InputArgs.hasArg(OBJCOPY_allow_broken_links);
1116 Config.DeterministicArchives = InputArgs.hasFlag(
1120 Config.PreserveDates = InputArgs.hasArg(OBJCOPY_preserve_dates);
1127 for (auto *Arg : InputArgs)
1176 llvm::opt::InputArgList InputArgs =
1183 StringRef(InputArgs.getArgString(MissingArgumentIndex)) +
1186 if (InputArgs.size() == 0) {
1191 if (InputArgs.hasArg(INSTALL_NAME_TOOL_help)) {
1196 if (InputArgs.hasArg(INSTALL_NAME_TOOL_version)) {
1203 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_add_rpath))
1206 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_prepend_rpath))
1209 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_delete_rpath)) {
1227 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_rpath)) {
1269 if (auto *Arg = InputArgs.getLastArg(INSTALL_NAME_TOOL_id)) {
1276 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_change))
1281 InputArgs.hasArg(INSTALL_NAME_TOOL_delete_all_rpaths);
1284 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_UNKNOWN))
1286 Arg->getAsString(InputArgs).c_str());
1287 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_INPUT))
1321 opt::InputArgList InputArgs =
1324 if (InputArgs.size() == 0) {
1329 if (InputArgs.hasArg(BITCODE_STRIP_help)) {
1334 if (InputArgs.hasArg(BITCODE_STRIP_version)) {
1341 for (auto *Arg : InputArgs.filtered(BITCODE_STRIP_UNKNOWN))
1343 Arg->getAsString(InputArgs).c_str());
1346 for (auto *Arg : InputArgs.filtered(BITCODE_STRIP_INPUT))
1354 if (!InputArgs.hasArg(BITCODE_STRIP_output)) {
1358 Config.OutputFilename = InputArgs.getLastArgValue(BITCODE_STRIP_output);
1360 if (!InputArgs.hasArg(BITCODE_STRIP_remove))
1395 llvm::opt::InputArgList InputArgs =
1398 if (InputArgs.size() == 0 && DashDash == RawArgsArr.end()) {
1403 if (InputArgs.hasArg(STRIP_help)) {
1408 if (InputArgs.hasArg(STRIP_version)) {
1415 for (auto *Arg : InputArgs.filtered(STRIP_UNKNOWN))
1417 Arg->getAsString(InputArgs).c_str());
1418 for (auto *Arg : InputArgs.filtered(STRIP_INPUT))
1425 if (Positional.size() > 1 && InputArgs.hasArg(STRIP_output))
1435 if (InputArgs.hasArg(STRIP_regex) && InputArgs.hasArg(STRIP_wildcard))
1439 InputArgs.hasArg(STRIP_regex) ? MatchStyle::Regex : MatchStyle::Wildcard;
1441 = InputArgs.hasArg(STRIP_regex) ? MatchStyle::Regex
1442 : InputArgs.hasArg(STRIP_wildcard) ? MatchStyle::Wildcard
1444 ELFConfig.AllowBrokenLinks = InputArgs.hasArg(STRIP_allow_broken_links);
1445 Config.StripDebug = InputArgs.hasArg(STRIP_strip_debug);
1447 if (auto *Arg = InputArgs.getLastArg(STRIP_discard_all, STRIP_discard_locals))
1451 Config.StripSections = InputArgs.hasArg(STRIP_strip_sections);
1452 Config.StripUnneeded = InputArgs.hasArg(STRIP_strip_unneeded);
1453 if (auto Arg = InputArgs.getLastArg(STRIP_strip_all, STRIP_no_strip_all))
1455 Config.StripAllGNU = InputArgs.hasArg(STRIP_strip_all_gnu);
1456 MachOConfig.StripSwiftSymbols = InputArgs.hasArg(STRIP_strip_swift_symbols);
1457 Config.OnlyKeepDebug = InputArgs.hasArg(STRIP_only_keep_debug);
1458 ELFConfig.KeepFileSymbols = InputArgs.hasArg(STRIP_keep_file_symbols);
1459 MachOConfig.KeepUndefined = InputArgs.hasArg(STRIP_keep_undefined);
1461 for (auto *Arg : InputArgs.filtered(STRIP_keep_section))
1466 for (auto *Arg : InputArgs.filtered(STRIP_remove_section))
1471 for (auto *Arg : InputArgs.filtered(STRIP_strip_symbol))
1476 for (auto *Arg : InputArgs.filtered(STRIP_keep_symbol))
1481 if (!InputArgs.hasArg(STRIP_no_strip_all) && !Config.StripDebug &&
1493 InputArgs.hasFlag(STRIP_enable_deterministic_archives,
1496 Config.PreserveDates = InputArgs.hasArg(STRIP_preserve_dates);
1504 InputArgs.getLastArgValue(STRIP_output, Positional[0]);
1526 InputArgs.getLastArgValue(STRIP_output) == "-"))