Lines Matching defs:InputArgs
703 llvm::opt::InputArgList InputArgs =
710 InputArgs.getArgString(MissingArgumentIndex), MissingArgumentCount);
712 if (InputArgs.size() == 0) {
717 if (InputArgs.hasArg(OBJCOPY_help)) {
722 if (InputArgs.hasArg(OBJCOPY_version)) {
730 for (auto *Arg : InputArgs.filtered(OBJCOPY_UNKNOWN))
732 Arg->getAsString(InputArgs).c_str());
734 for (auto *Arg : InputArgs.filtered(OBJCOPY_INPUT))
751 if (InputArgs.hasArg(OBJCOPY_target) &&
752 (InputArgs.hasArg(OBJCOPY_input_target) ||
753 InputArgs.hasArg(OBJCOPY_output_target)))
758 if (InputArgs.hasArg(OBJCOPY_regex) && InputArgs.hasArg(OBJCOPY_wildcard))
762 MatchStyle SectionMatchStyle = InputArgs.hasArg(OBJCOPY_regex)
766 = InputArgs.hasArg(OBJCOPY_regex) ? MatchStyle::Regex
767 : InputArgs.hasArg(OBJCOPY_wildcard) ? MatchStyle::Wildcard
770 if (InputArgs.hasArg(OBJCOPY_target)) {
771 InputFormat = InputArgs.getLastArgValue(OBJCOPY_target);
772 OutputFormat = InputArgs.getLastArgValue(OBJCOPY_target);
774 InputFormat = InputArgs.getLastArgValue(OBJCOPY_input_target);
775 OutputFormat = InputArgs.getLastArgValue(OBJCOPY_output_target);
786 if (InputArgs.hasArg(OBJCOPY_new_symbol_visibility)) {
789 InputArgs.getLastArgValue(OBJCOPY_new_symbol_visibility);
804 for (const auto *Arg : InputArgs.filtered(OBJCOPY_subsystem)) {
863 if (const auto *A = InputArgs.getLastArg(OBJCOPY_compress_debug_sections)) {
879 for (const auto *A : InputArgs.filtered(OBJCOPY_compress_sections)) {
915 Config.AddGnuDebugLink = InputArgs.getLastArgValue(OBJCOPY_add_gnu_debuglink);
928 Config.SplitDWO = InputArgs.getLastArgValue(OBJCOPY_split_dwo);
930 Config.SymbolsPrefix = InputArgs.getLastArgValue(OBJCOPY_prefix_symbols);
932 InputArgs.getLastArgValue(OBJCOPY_remove_symbol_prefix);
935 InputArgs.getLastArgValue(OBJCOPY_prefix_alloc_sections);
936 if (auto Arg = InputArgs.getLastArg(OBJCOPY_extract_partition))
939 if (const auto *A = InputArgs.getLastArg(OBJCOPY_gap_fill)) {
956 if (const auto *A = InputArgs.getLastArg(OBJCOPY_pad_to)) {
968 if (const auto *Arg = InputArgs.getLastArg(OBJCOPY_change_section_lma)) {
976 for (auto *Arg : InputArgs.filtered(OBJCOPY_change_section_address)) {
985 for (auto *Arg : InputArgs.filtered(OBJCOPY_redefine_symbol)) {
996 for (auto *Arg : InputArgs.filtered(OBJCOPY_redefine_symbols))
1001 for (auto *Arg : InputArgs.filtered(OBJCOPY_rename_section)) {
1011 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_section_alignment)) {
1018 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_section_flags)) {
1029 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_section_type)) {
1053 for (auto *Arg : InputArgs.filtered(OBJCOPY_remove_section))
1057 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_section))
1061 for (auto *Arg : InputArgs.filtered(OBJCOPY_only_section))
1065 for (auto *Arg : InputArgs.filtered(OBJCOPY_add_section)) {
1070 for (auto *Arg : InputArgs.filtered(OBJCOPY_update_section)) {
1075 for (auto *Arg : InputArgs.filtered(OBJCOPY_dump_section)) {
1083 Config.StripAll = InputArgs.hasArg(OBJCOPY_strip_all);
1084 Config.StripAllGNU = InputArgs.hasArg(OBJCOPY_strip_all_gnu);
1085 Config.StripDebug = InputArgs.hasArg(OBJCOPY_strip_debug);
1086 Config.StripDWO = InputArgs.hasArg(OBJCOPY_strip_dwo);
1087 Config.StripSections = InputArgs.hasArg(OBJCOPY_strip_sections);
1088 Config.StripNonAlloc = InputArgs.hasArg(OBJCOPY_strip_non_alloc);
1089 Config.StripUnneeded = InputArgs.hasArg(OBJCOPY_strip_unneeded);
1090 Config.ExtractDWO = InputArgs.hasArg(OBJCOPY_extract_dwo);
1092 InputArgs.hasArg(OBJCOPY_extract_main_partition);
1093 ELFConfig.LocalizeHidden = InputArgs.hasArg(OBJCOPY_localize_hidden);
1094 Config.Weaken = InputArgs.hasArg(OBJCOPY_weaken);
1096 InputArgs.getLastArg(OBJCOPY_discard_all, OBJCOPY_discard_locals)) {
1102 ELFConfig.VerifyNoteSections = InputArgs.hasFlag(
1105 Config.OnlyKeepDebug = InputArgs.hasArg(OBJCOPY_only_keep_debug);
1106 ELFConfig.KeepFileSymbols = InputArgs.hasArg(OBJCOPY_keep_file_symbols);
1107 MachOConfig.KeepUndefined = InputArgs.hasArg(OBJCOPY_keep_undefined);
1109 InputArgs.hasArg(OBJCOPY_decompress_debug_sections);
1114 for (auto *Arg : InputArgs.filtered(OBJCOPY_localize_symbol))
1118 for (auto *Arg : InputArgs.filtered(OBJCOPY_localize_symbols))
1123 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_global_symbol))
1127 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_global_symbols))
1132 for (auto *Arg : InputArgs.filtered(OBJCOPY_globalize_symbol))
1136 for (auto *Arg : InputArgs.filtered(OBJCOPY_globalize_symbols))
1141 for (auto *Arg : InputArgs.filtered(OBJCOPY_weaken_symbol))
1145 for (auto *Arg : InputArgs.filtered(OBJCOPY_weaken_symbols))
1150 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_symbol))
1154 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_symbols))
1159 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbol))
1164 for (auto *Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbols))
1169 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_symbol))
1173 for (auto *Arg : InputArgs.filtered(OBJCOPY_keep_symbols))
1178 for (auto *Arg : InputArgs.filtered(OBJCOPY_skip_symbol))
1182 for (auto *Arg : InputArgs.filtered(OBJCOPY_skip_symbols))
1187 for (auto *Arg : InputArgs.filtered(OBJCOPY_add_symbol)) {
1194 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_symbol_visibility)) {
1207 for (auto *Arg : InputArgs.filtered(OBJCOPY_set_symbols_visibility)) {
1222 ELFConfig.AllowBrokenLinks = InputArgs.hasArg(OBJCOPY_allow_broken_links);
1224 Config.DeterministicArchives = InputArgs.hasFlag(
1228 Config.PreserveDates = InputArgs.hasArg(OBJCOPY_preserve_dates);
1235 for (auto *Arg : InputArgs)
1256 for (auto *Arg : InputArgs.filtered(OBJCOPY_remove_note)) {
1307 llvm::opt::InputArgList InputArgs =
1314 StringRef(InputArgs.getArgString(MissingArgumentIndex)) +
1317 if (InputArgs.size() == 0) {
1322 if (InputArgs.hasArg(INSTALL_NAME_TOOL_help)) {
1327 if (InputArgs.hasArg(INSTALL_NAME_TOOL_version)) {
1334 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_add_rpath))
1337 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_prepend_rpath))
1340 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_delete_rpath)) {
1358 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_rpath)) {
1400 if (auto *Arg = InputArgs.getLastArg(INSTALL_NAME_TOOL_id)) {
1407 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_change))
1412 InputArgs.hasArg(INSTALL_NAME_TOOL_delete_all_rpaths);
1415 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_UNKNOWN))
1417 Arg->getAsString(InputArgs).c_str());
1418 for (auto *Arg : InputArgs.filtered(INSTALL_NAME_TOOL_INPUT))
1452 opt::InputArgList InputArgs =
1455 if (InputArgs.size() == 0) {
1460 if (InputArgs.hasArg(BITCODE_STRIP_help)) {
1465 if (InputArgs.hasArg(BITCODE_STRIP_version)) {
1472 for (auto *Arg : InputArgs.filtered(BITCODE_STRIP_UNKNOWN))
1474 Arg->getAsString(InputArgs).c_str());
1477 for (auto *Arg : InputArgs.filtered(BITCODE_STRIP_INPUT))
1485 if (!InputArgs.hasArg(BITCODE_STRIP_output)) {
1489 Config.OutputFilename = InputArgs.getLastArgValue(BITCODE_STRIP_output);
1491 if (!InputArgs.hasArg(BITCODE_STRIP_remove))
1526 llvm::opt::InputArgList InputArgs =
1529 if (InputArgs.size() == 0 && DashDash == RawArgsArr.end()) {
1534 if (InputArgs.hasArg(STRIP_help)) {
1539 if (InputArgs.hasArg(STRIP_version)) {
1546 for (auto *Arg : InputArgs.filtered(STRIP_UNKNOWN))
1548 Arg->getAsString(InputArgs).c_str());
1549 for (auto *Arg : InputArgs.filtered(STRIP_INPUT))
1556 if (Positional.size() > 1 && InputArgs.hasArg(STRIP_output))
1566 if (InputArgs.hasArg(STRIP_regex) && InputArgs.hasArg(STRIP_wildcard))
1570 InputArgs.hasArg(STRIP_regex) ? MatchStyle::Regex : MatchStyle::Wildcard;
1572 = InputArgs.hasArg(STRIP_regex) ? MatchStyle::Regex
1573 : InputArgs.hasArg(STRIP_wildcard) ? MatchStyle::Wildcard
1575 ELFConfig.AllowBrokenLinks = InputArgs.hasArg(STRIP_allow_broken_links);
1576 Config.StripDebug = InputArgs.hasArg(STRIP_strip_debug);
1578 if (auto *Arg = InputArgs.getLastArg(STRIP_discard_all, STRIP_discard_locals))
1582 Config.StripSections = InputArgs.hasArg(STRIP_strip_sections);
1583 Config.StripUnneeded = InputArgs.hasArg(STRIP_strip_unneeded);
1584 if (auto Arg = InputArgs.getLastArg(STRIP_strip_all, STRIP_no_strip_all))
1586 Config.StripAllGNU = InputArgs.hasArg(STRIP_strip_all_gnu);
1587 MachOConfig.StripSwiftSymbols = InputArgs.hasArg(STRIP_strip_swift_symbols);
1588 Config.OnlyKeepDebug = InputArgs.hasArg(STRIP_only_keep_debug);
1589 ELFConfig.KeepFileSymbols = InputArgs.hasArg(STRIP_keep_file_symbols);
1590 MachOConfig.KeepUndefined = InputArgs.hasArg(STRIP_keep_undefined);
1592 for (auto *Arg : InputArgs.filtered(STRIP_keep_section))
1597 for (auto *Arg : InputArgs.filtered(STRIP_remove_section))
1602 for (auto *Arg : InputArgs.filtered(STRIP_strip_symbol))
1607 for (auto *Arg : InputArgs.filtered(STRIP_keep_symbol))
1612 if (!InputArgs.hasArg(STRIP_no_strip_all) && !Config.StripDebug &&
1624 InputArgs.hasFlag(STRIP_enable_deterministic_archives,
1627 Config.PreserveDates = InputArgs.hasArg(STRIP_preserve_dates);
1635 InputArgs.getLastArgValue(STRIP_output, Positional[0]);
1657 InputArgs.getLastArgValue(STRIP_output) == "-"))