[llvm] [StaticDataLayout][PGO]Implement reader and writer change for data access profiles (PR #139997)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri May 16 06:52:38 PDT 2025
================
@@ -225,6 +228,8 @@ static Error writeMemProfRadixTreeBased(
OS.write(0ULL); // Reserve space for the memprof call stack payload offset.
OS.write(0ULL); // Reserve space for the memprof record payload offset.
OS.write(0ULL); // Reserve space for the memprof record table offset.
+ if (Version == memprof::Version4)
----------------
teresajohnson wrote:
Should this check be >= ? Ditto for similar check later. Also, does the version need to be bumped for this change?
https://github.com/llvm/llvm-project/pull/139997
More information about the llvm-commits
mailing list