[llvm] [memprof] Add a version field to MemProf (PR #85344)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 19:05:04 PDT 2024
================
@@ -1165,6 +1165,9 @@ inline std::unique_ptr<Summary> allocSummary(uint32_t TotalSize) {
Summary(TotalSize));
}
+// Version 1: First version
+constexpr uint64_t MemProfVersion = 1;
----------------
snehasish wrote:
Perhaps would ProfileData/MemProf.h be a better place to declare this const?
https://github.com/llvm/llvm-project/pull/85344
More information about the llvm-commits
mailing list