[llvm] Add comment for raw profile version 10. (PR #87207)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 31 15:49:43 PDT 2024


https://github.com/minglotus-6 created https://github.com/llvm/llvm-project/pull/87207

- The raw profile format change is in https://github.com/llvm/llvm-project/pull/82711

>From 49d24a2b44dd1ddfb2d9249a4adeaed90d1c2466 Mon Sep 17 00:00:00 2001
From: mingmingl <mingmingl at google.com>
Date: Sun, 31 Mar 2024 15:47:07 -0700
Subject: [PATCH] Add comment for raw profile version 10. - The raw profile
 format change is in pr 82711.

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

diff --git a/llvm/include/llvm/ProfileData/InstrProf.h b/llvm/include/llvm/ProfileData/InstrProf.h
index f6c7960ed8bc5c..e7501f6bce641d 100644
--- a/llvm/include/llvm/ProfileData/InstrProf.h
+++ b/llvm/include/llvm/ProfileData/InstrProf.h
@@ -1195,6 +1195,9 @@ namespace RawInstrProf {
 // Version 7: Reorder binary id and include version in signature.
 // Version 8: Use relative counter pointer.
 // Version 9: Added relative bitmap bytes pointer and count used by MC/DC.
+// Version 10: Added vtable, a new type of value profile data. If vtable
+// instrumentation is enabled, two new sections will be added in the raw
+// profiles.
 const uint64_t Version = INSTR_PROF_RAW_VERSION;
 
 template <class IntPtrT> inline uint64_t getMagic();



More information about the llvm-commits mailing list