[llvm] [memprof] Make Version3 officially available (PR #94837)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 21:20:44 PDT 2024


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/94837

None

>From 5c874bae2bd05a59976eddc92a486af94968ee5e Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Fri, 7 Jun 2024 21:17:20 -0700
Subject: [PATCH] [memprof] Make Version3 officially available

---
 llvm/include/llvm/ProfileData/MemProf.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/include/llvm/ProfileData/MemProf.h b/llvm/include/llvm/ProfileData/MemProf.h
index a6501493172b2..53ddfd1923410 100644
--- a/llvm/include/llvm/ProfileData/MemProf.h
+++ b/llvm/include/llvm/ProfileData/MemProf.h
@@ -28,7 +28,8 @@ enum IndexedVersion : uint64_t {
   Version1 = 1,
   // Version 2: Added a call stack table.
   Version2 = 2,
-  // Version 3: Under development.
+  // Version 3: Added a radix tree for call stacks.  Switched to linear IDs for
+  // frames and call stacks.
   Version3 = 3,
 };
 



More information about the llvm-commits mailing list