[llvm] [StaticDataLayout][PGO]Implement reader and writer change for data access profiles (PR #139997)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 16:32:38 PDT 2025


================
@@ -273,28 +289,32 @@ static Error writeMemProfV3(ProfOStream &OS,
                             memprof::IndexedMemProfData &MemProfData,
                             bool MemProfFullSchema) {
   return writeMemProfRadixTreeBased(OS, MemProfData, memprof::Version3,
-                                    MemProfFullSchema);
+                                    MemProfFullSchema, nullptr);
----------------
snehasish wrote:

If you change the defintion to use a default nullptr parameter then you won't need to change this callsite.

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


More information about the llvm-commits mailing list