================
@@ -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) &&
----------------
ElvisWang123 wrote:

This option `options::OPT_fdiagnostics_show_profile_count` also appears in the 
`clang/lib/Driver/Toochains/clang.cpp` to enable the profile metadata appending 
to IR.

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

Reply via email to