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

References

tools/clang/lib/Driver/ToolChains/Darwin.cpp
  208   if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) {
  210       D.Diag(diag::err_drv_invalid_version_number) << A->getAsString(Args);
  215   if (Version[0] >= 100 && !Args.hasArg(options::OPT_Z_Xlinker__no_demangle))
  218   if (Args.hasArg(options::OPT_rdynamic) && Version[0] >= 137)
  223   if (Args.hasFlag(options::OPT_fapplication_extension,
  265   if (Version[0] >= 262 && shouldLinkerNotDedup(C.getJobs().empty(), Args))
  269   Args.AddAllArgs(CmdArgs, options::OPT_static);
  270   if (!Args.hasArg(options::OPT_static))
  272   if (Args.hasArg(options::OPT_fgnu_runtime)) {
  277   if (!Args.hasArg(options::OPT_dynamiclib)) {
  278     AddMachOArch(Args, CmdArgs);
  280     Args.AddLastArg(CmdArgs, options::OPT_force__cpusubtype__ALL);
  282     Args.AddLastArg(CmdArgs, options::OPT_bundle);
  283     Args.AddAllArgs(CmdArgs, options::OPT_bundle__loader);
  284     Args.AddAllArgs(CmdArgs, options::OPT_client__name);
  287     if ((A = Args.getLastArg(options::OPT_compatibility__version)) ||
  288         (A = Args.getLastArg(options::OPT_current__version)) ||
  289         (A = Args.getLastArg(options::OPT_install__name)))
  290       D.Diag(diag::err_drv_argument_only_allowed_with) << A->getAsString(Args)
  293     Args.AddLastArg(CmdArgs, options::OPT_force__flat__namespace);
  294     Args.AddLastArg(CmdArgs, options::OPT_keep__private__externs);
  295     Args.AddLastArg(CmdArgs, options::OPT_private__bundle);
  300     if ((A = Args.getLastArg(options::OPT_bundle)) ||
  301         (A = Args.getLastArg(options::OPT_bundle__loader)) ||
  302         (A = Args.getLastArg(options::OPT_client__name)) ||
  303         (A = Args.getLastArg(options::OPT_force__flat__namespace)) ||
  304         (A = Args.getLastArg(options::OPT_keep__private__externs)) ||
  305         (A = Args.getLastArg(options::OPT_private__bundle)))
  306       D.Diag(diag::err_drv_argument_not_allowed_with) << A->getAsString(Args)
  309     Args.AddAllArgsTranslated(CmdArgs, options::OPT_compatibility__version,
  311     Args.AddAllArgsTranslated(CmdArgs, options::OPT_current__version,
  314     AddMachOArch(Args, CmdArgs);
  316     Args.AddAllArgsTranslated(CmdArgs, options::OPT_install__name,
  320   Args.AddLastArg(CmdArgs, options::OPT_all__load);
  321   Args.AddAllArgs(CmdArgs, options::OPT_allowable__client);
  322   Args.AddLastArg(CmdArgs, options::OPT_bind__at__load);
  324     Args.AddLastArg(CmdArgs, options::OPT_arch__errors__fatal);
  325   Args.AddLastArg(CmdArgs, options::OPT_dead__strip);
  326   Args.AddLastArg(CmdArgs, options::OPT_no__dead__strip__inits__and__terms);
  327   Args.AddAllArgs(CmdArgs, options::OPT_dylib__file);
  328   Args.AddLastArg(CmdArgs, options::OPT_dynamic);
  329   Args.AddAllArgs(CmdArgs, options::OPT_exported__symbols__list);
  330   Args.AddLastArg(CmdArgs, options::OPT_flat__namespace);
  331   Args.AddAllArgs(CmdArgs, options::OPT_force__load);
  332   Args.AddAllArgs(CmdArgs, options::OPT_headerpad__max__install__names);
  333   Args.AddAllArgs(CmdArgs, options::OPT_image__base);
  334   Args.AddAllArgs(CmdArgs, options::OPT_init);
  337   MachOTC.addMinVersionArgs(Args, CmdArgs);
  339   Args.AddLastArg(CmdArgs, options::OPT_nomultidefs);
  340   Args.AddLastArg(CmdArgs, options::OPT_multi__module);
  341   Args.AddLastArg(CmdArgs, options::OPT_single__module);
  342   Args.AddAllArgs(CmdArgs, options::OPT_multiply__defined);
  343   Args.AddAllArgs(CmdArgs, options::OPT_multiply__defined__unused);
  346           Args.getLastArg(options::OPT_fpie, options::OPT_fPIE,
  368   Args.AddLastArg(CmdArgs, options::OPT_prebind);
  369   Args.AddLastArg(CmdArgs, options::OPT_noprebind);
  370   Args.AddLastArg(CmdArgs, options::OPT_nofixprebinding);
  371   Args.AddLastArg(CmdArgs, options::OPT_prebind__all__twolevel__modules);
  372   Args.AddLastArg(CmdArgs, options::OPT_read__only__relocs);
  373   Args.AddAllArgs(CmdArgs, options::OPT_sectcreate);
  374   Args.AddAllArgs(CmdArgs, options::OPT_sectorder);
  375   Args.AddAllArgs(CmdArgs, options::OPT_seg1addr);
  376   Args.AddAllArgs(CmdArgs, options::OPT_segprot);
  377   Args.AddAllArgs(CmdArgs, options::OPT_segaddr);
  378   Args.AddAllArgs(CmdArgs, options::OPT_segs__read__only__addr);
  379   Args.AddAllArgs(CmdArgs, options::OPT_segs__read__write__addr);
  380   Args.AddAllArgs(CmdArgs, options::OPT_seg__addr__table);
  381   Args.AddAllArgs(CmdArgs, options::OPT_seg__addr__table__filename);
  382   Args.AddAllArgs(CmdArgs, options::OPT_sub__library);
  383   Args.AddAllArgs(CmdArgs, options::OPT_sub__umbrella);
  391   } else if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
  396   Args.AddLastArg(CmdArgs, options::OPT_twolevel__namespace);
  397   Args.AddLastArg(CmdArgs, options::OPT_twolevel__namespace__hints);
  398   Args.AddAllArgs(CmdArgs, options::OPT_umbrella);
  399   Args.AddAllArgs(CmdArgs, options::OPT_undefined);
  400   Args.AddAllArgs(CmdArgs, options::OPT_unexported__symbols__list);
  401   Args.AddAllArgs(CmdArgs, options::OPT_weak__reference__mismatches);
  402   Args.AddLastArg(CmdArgs, options::OPT_X_Flag);
  403   Args.AddAllArgs(CmdArgs, options::OPT_y);
  404   Args.AddLastArg(CmdArgs, options::OPT_w);
  405   Args.AddAllArgs(CmdArgs, options::OPT_pagezero__size);
  406   Args.AddAllArgs(CmdArgs, options::OPT_segs__read__);
  407   Args.AddLastArg(CmdArgs, options::OPT_seglinkedit);
  408   Args.AddLastArg(CmdArgs, options::OPT_noseglinkedit);
  409   Args.AddAllArgs(CmdArgs, options::OPT_sectalign);
  410   Args.AddAllArgs(CmdArgs, options::OPT_sectobjectsymbols);
  411   Args.AddAllArgs(CmdArgs, options::OPT_segcreate);
  412   Args.AddLastArg(CmdArgs, options::OPT_whyload);
  413   Args.AddLastArg(CmdArgs, options::OPT_whatsloaded);
  414   Args.AddAllArgs(CmdArgs, options::OPT_dylinker__install__name);
  415   Args.AddLastArg(CmdArgs, options::OPT_dylinker);
  416   Args.AddLastArg(CmdArgs, options::OPT_Mach);