reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-objcopy/CopyConfig.cpp
  378   if (InputArgs.size() == 0) {
  383   if (InputArgs.hasArg(OBJCOPY_help)) {
  388   if (InputArgs.hasArg(OBJCOPY_version)) {
  396   for (auto Arg : InputArgs.filtered(OBJCOPY_UNKNOWN))
  398                              Arg->getAsString(InputArgs).c_str());
  400   for (auto Arg : InputArgs.filtered(OBJCOPY_INPUT))
  413   if (InputArgs.hasArg(OBJCOPY_target) &&
  414       (InputArgs.hasArg(OBJCOPY_input_target) ||
  415        InputArgs.hasArg(OBJCOPY_output_target)))
  420   if (InputArgs.hasArg(OBJCOPY_regex) && InputArgs.hasArg(OBJCOPY_wildcard))
  420   if (InputArgs.hasArg(OBJCOPY_regex) && InputArgs.hasArg(OBJCOPY_wildcard))
  424   MatchStyle SectionMatchStyle = InputArgs.hasArg(OBJCOPY_regex)
  427   MatchStyle SymbolMatchStyle = InputArgs.hasArg(OBJCOPY_regex)
  429                                     : InputArgs.hasArg(OBJCOPY_wildcard)
  433   if (InputArgs.hasArg(OBJCOPY_target)) {
  434     InputFormat = InputArgs.getLastArgValue(OBJCOPY_target);
  435     OutputFormat = InputArgs.getLastArgValue(OBJCOPY_target);
  437     InputFormat = InputArgs.getLastArgValue(OBJCOPY_input_target);
  438     OutputFormat = InputArgs.getLastArgValue(OBJCOPY_output_target);
  449   if (InputArgs.hasArg(OBJCOPY_new_symbol_visibility))
  451         InputArgs.getLastArgValue(OBJCOPY_new_symbol_visibility);
  470   if (auto Arg = InputArgs.getLastArg(OBJCOPY_compress_debug_sections,
  477               InputArgs.getLastArgValue(OBJCOPY_compress_debug_sections_eq))
  485             InputArgs.getLastArgValue(OBJCOPY_compress_debug_sections_eq)
  495   Config.AddGnuDebugLink = InputArgs.getLastArgValue(OBJCOPY_add_gnu_debuglink);
  508   Config.BuildIdLinkDir = InputArgs.getLastArgValue(OBJCOPY_build_id_link_dir);
  509   if (InputArgs.hasArg(OBJCOPY_build_id_link_input))
  511         InputArgs.getLastArgValue(OBJCOPY_build_id_link_input);
  512   if (InputArgs.hasArg(OBJCOPY_build_id_link_output))
  514         InputArgs.getLastArgValue(OBJCOPY_build_id_link_output);
  515   Config.SplitDWO = InputArgs.getLastArgValue(OBJCOPY_split_dwo);
  516   Config.SymbolsPrefix = InputArgs.getLastArgValue(OBJCOPY_prefix_symbols);
  518       InputArgs.getLastArgValue(OBJCOPY_prefix_alloc_sections);
  519   if (auto Arg = InputArgs.getLastArg(OBJCOPY_extract_partition))
  522   for (auto Arg : InputArgs.filtered(OBJCOPY_redefine_symbol)) {
  533   for (auto Arg : InputArgs.filtered(OBJCOPY_redefine_symbols))
  538   for (auto Arg : InputArgs.filtered(OBJCOPY_rename_section)) {
  548   for (auto Arg : InputArgs.filtered(OBJCOPY_set_section_alignment)) {
  555   for (auto Arg : InputArgs.filtered(OBJCOPY_set_section_flags)) {
  584   for (auto Arg : InputArgs.filtered(OBJCOPY_remove_section))
  588   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_section))
  592   for (auto Arg : InputArgs.filtered(OBJCOPY_only_section))
  596   for (auto Arg : InputArgs.filtered(OBJCOPY_add_section)) {
  607   for (auto Arg : InputArgs.filtered(OBJCOPY_dump_section))
  609   Config.StripAll = InputArgs.hasArg(OBJCOPY_strip_all);
  610   Config.StripAllGNU = InputArgs.hasArg(OBJCOPY_strip_all_gnu);
  611   Config.StripDebug = InputArgs.hasArg(OBJCOPY_strip_debug);
  612   Config.StripDWO = InputArgs.hasArg(OBJCOPY_strip_dwo);
  613   Config.StripSections = InputArgs.hasArg(OBJCOPY_strip_sections);
  614   Config.StripNonAlloc = InputArgs.hasArg(OBJCOPY_strip_non_alloc);
  615   Config.StripUnneeded = InputArgs.hasArg(OBJCOPY_strip_unneeded);
  616   Config.ExtractDWO = InputArgs.hasArg(OBJCOPY_extract_dwo);
  618       InputArgs.hasArg(OBJCOPY_extract_main_partition);
  619   Config.LocalizeHidden = InputArgs.hasArg(OBJCOPY_localize_hidden);
  620   Config.Weaken = InputArgs.hasArg(OBJCOPY_weaken);
  621   if (InputArgs.hasArg(OBJCOPY_discard_all, OBJCOPY_discard_locals))
  623         InputArgs.hasFlag(OBJCOPY_discard_all, OBJCOPY_discard_locals)
  626   Config.OnlyKeepDebug = InputArgs.hasArg(OBJCOPY_only_keep_debug);
  627   Config.KeepFileSymbols = InputArgs.hasArg(OBJCOPY_keep_file_symbols);
  629       InputArgs.hasArg(OBJCOPY_decompress_debug_sections);
  632   for (auto Arg : InputArgs.filtered(OBJCOPY_localize_symbol))
  636   for (auto Arg : InputArgs.filtered(OBJCOPY_localize_symbols))
  641   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_global_symbol))
  645   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_global_symbols))
  650   for (auto Arg : InputArgs.filtered(OBJCOPY_globalize_symbol))
  654   for (auto Arg : InputArgs.filtered(OBJCOPY_globalize_symbols))
  659   for (auto Arg : InputArgs.filtered(OBJCOPY_weaken_symbol))
  663   for (auto Arg : InputArgs.filtered(OBJCOPY_weaken_symbols))
  668   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_symbol))
  672   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_symbols))
  677   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbol))
  682   for (auto Arg : InputArgs.filtered(OBJCOPY_strip_unneeded_symbols))
  687   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_symbol))
  691   for (auto Arg : InputArgs.filtered(OBJCOPY_keep_symbols))
  696   for (auto Arg : InputArgs.filtered(OBJCOPY_add_symbol))
  699   Config.AllowBrokenLinks = InputArgs.hasArg(OBJCOPY_allow_broken_links);
  701   Config.DeterministicArchives = InputArgs.hasFlag(
  705   Config.PreserveDates = InputArgs.hasArg(OBJCOPY_preserve_dates);
  712   for (auto Arg : InputArgs)