================ @@ -2091,6 +2091,12 @@ bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, bool UsingProfile = UsingSampleProfile || !Opts.ProfileInstrumentUsePath.empty(); + if (Args.hasArg(options::OPT_fdiagnostics_show_profile_count) && ---------------- jansvoboda11 wrote:
If this option exists in `-cc1` only to emit a warning without being used for anything else, I suggest moving the diagnostic to the driver and removing the `-cc1` option. https://github.com/llvm/llvm-project/pull/75021 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits