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

References

tools/clang/lib/Driver/ToolChains/Darwin.cpp
  453     CmdArgs.push_back(Output.getFilename());
  454     C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, None));
  460   AddLinkArgs(C, Args, CmdArgs, Inputs);
  467     CmdArgs.push_back("-mllvm");
  468     CmdArgs.push_back("-lto-pass-remarks-output");
  469     CmdArgs.push_back("-mllvm");
  480     CmdArgs.push_back(Args.MakeArgString(F));
  483       CmdArgs.push_back("-mllvm");
  484       CmdArgs.push_back("-lto-pass-remarks-with-hotness");
  488         CmdArgs.push_back("-mllvm");
  491         CmdArgs.push_back(Args.MakeArgString(Opt));
  497       CmdArgs.push_back("-mllvm");
  500       CmdArgs.push_back(Args.MakeArgString(Passes));
  505       CmdArgs.push_back("-mllvm");
  508       CmdArgs.push_back(Args.MakeArgString(Format));
  517         CmdArgs.push_back("-mllvm");
  518         CmdArgs.push_back("-enable-machine-outliner");
  521         CmdArgs.push_back("-mllvm");
  522         CmdArgs.push_back("-enable-linkonceodr-outlining");
  528       CmdArgs.push_back("-mllvm");
  529       CmdArgs.push_back("-enable-machine-outliner=never");
  537     CmdArgs.push_back("-mllvm");
  538     CmdArgs.push_back(Args.MakeArgString("-lto-stats-file=" + StatsFile.str()));
  543   Args.AddAllArgs(CmdArgs, {options::OPT_d_Flag, options::OPT_s, options::OPT_t,
  551     CmdArgs.push_back("-ObjC");
  553   CmdArgs.push_back("-o");
  554   CmdArgs.push_back(Output.getFilename());
  557     getMachOToolChain().addStartObjectFileArgs(Args, CmdArgs);
  559   Args.AddAllArgs(CmdArgs, options::OPT_L);
  561   AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
  580     addOpenMPRuntime(CmdArgs, getToolChain(), Args);
  585     getMachOToolChain().AddLinkARCArgs(Args, CmdArgs);
  587     CmdArgs.push_back("-framework");
  588     CmdArgs.push_back("Foundation");
  590     CmdArgs.push_back("-lobjc");
  594     CmdArgs.push_back("-arch_multiple");
  595     CmdArgs.push_back("-final_output");
  596     CmdArgs.push_back(LinkingOutput);
  600     CmdArgs.push_back("-allow_stack_execute");
  602   getMachOToolChain().addProfileRTLibs(Args, CmdArgs);
  606     CmdArgs.push_back("-mllvm");
  607     CmdArgs.push_back(Args.MakeArgString("-threads=" + Twine(Parallelism)));
  611     getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
  622       getMachOToolChain().AddLinkRuntimeLib(Args, CmdArgs, "builtins");
  625       getMachOToolChain().AddLinkRuntimeLibArgs(Args, CmdArgs,
  638   Args.AddAllArgs(CmdArgs, options::OPT_T_Group);
  639   Args.AddAllArgs(CmdArgs, options::OPT_F);
  643     CmdArgs.push_back(Args.MakeArgString(std::string("-F") + A->getValue()));
  648         CmdArgs.push_back("-framework");
  649         CmdArgs.push_back("Accelerate");
  656       std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs);