[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
================
@@ -251,17 +256,26 @@ static Error writeMemProfRadixTreeBased(
uint64_t RecordTableOffset = writeMemProfRecords(
OS, MemProfData.Records, &Schema, Version, &MemProfCallStackIndexes);
+ uint64_t DataAccessProfOffset = 0;
+ if (DataAccessProfileData.has_value()) {
+ DataAccessProfOffset = OS.tell();
----------------
teresajohnson wrote:
Assert here that the version is high enough?
https://github.com/llvm/llvm-project/pull/139997
More information about the llvm-commits
mailing list