[clang] [InstrProf] Add frontend temporal profiling flag (PR #122385)

Carlo Cabrera via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 9 20:05:47 PST 2025


================
@@ -3035,6 +3035,38 @@ indexed format, regardeless whether it is produced by frontend or the IR pass.
   overhead. ``prefer-atomic`` will be transformed to ``atomic`` when supported
   by the target, or ``single`` otherwise.
 
+.. option:: -fprofile-generate-temporal
----------------
carlocab wrote:

That's fair. Maybe `-fprofile-temporal-generate`? Putting `temporal` closer to `profile` seems like an improvement. But I'm fine with leaving things as-is if others feel strongly about it.

https://github.com/llvm/llvm-project/pull/122385


More information about the cfe-commits mailing list