[compiler-rt] [llvm] [ctxprof] Prepare profile format for flat profiles (PR #129626)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 4 19:13:24 PST 2025


================
@@ -60,23 +62,30 @@ enum PGOCtxProfileBlockIDs {
 /// like value profiling - which would appear as additional records. For
 /// example, value profiling would produce a new record with a new record ID,
 /// containing the profiled values (much like the counters)
-class PGOCtxProfileWriter final {
+class PGOCtxProfileWriter : public ctx_profile::ProfileWriter {
----------------
snehasish wrote:

Can still keep the final keyword here?

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


More information about the llvm-commits mailing list