search for: err_drv_argument_not_allowed_with

Displaying 2 results from an estimated 2 matches for "err_drv_argument_not_allowed_with".

2013 Oct 01
3
[LLVMdev] RFH: passing options from clang down to opt
...otclasspath=">, Group<f_Group>; diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index dd48bc1..729da37 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -3594,6 +3594,11 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, D.Diag(diag::err_drv_argument_not_allowed_with) << "-fomit-frame-pointer" << A->getAsString(Args); + if (Args.hasArg(options::OPT_fauto_profile)) { + CmdArgs.push_back("-auto-profile"); + } + // Claim some arguments which clang supports automatically. // -fpch-preprocess is used with gcc...
2013 Oct 01
0
[LLVMdev] RFH: passing options from clang down to opt
...Group>; > diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp > index dd48bc1..729da37 100644 > --- a/lib/Driver/Tools.cpp > +++ b/lib/Driver/Tools.cpp > @@ -3594,6 +3594,11 @@ void Clang::ConstructJob(Compilation &C, const > JobAction &JA, > D.Diag(diag::err_drv_argument_not_allowed_with) > << "-fomit-frame-pointer" << A->getAsString(Args); > > + if (Args.hasArg(options::OPT_fauto_profile)) { > + CmdArgs.push_back("-auto-profile"); > + } > + > // Claim some arguments which clang supports automatically. > &g...