Displaying 2 results from an estimated 2 matches for "opt_fauto_profile".
2013 Oct 01
3
[LLVMdev] RFH: passing options from clang down to opt
.../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 to add a special marker in the output to
2013 Oct 01
0
[LLVMdev] RFH: passing options from clang down to opt
...ools.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 to add a special marker in the output to
> _______________________________________________
> LLVM...