[llvm] [MemProf] Print full context hash when reporting hinted bytes (PR #114465)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 16:07:56 PDT 2024


================
@@ -317,9 +317,15 @@ enum GlobalValueSummarySymtabCodes {
   // Summary of combined index allocation memprof metadata.
   // [nummib, numver,
   //  nummib x (alloc type, numstackids, numstackids x stackidindex),
-  //  numver x version, [nummib x total size]?]
+  //  numver x version]
   FS_COMBINED_ALLOC_INFO = 29,
+  // List of all stack ids referenced by index in the callsite and alloc infos.
+  // [n x stack id]
   FS_STACK_IDS = 30,
+  // List of all (full stack id, total size) pairs optionally referenced by
+  // index from the alloc info records.
+  // [n x (full stack id, total size)]
+  FS_CONTEXT_SIZE_INFOS = 31,
----------------
snehasish wrote:

All the other entries are "_INFO" instead of "_INFOS". Would be nice to be consistent.

https://github.com/llvm/llvm-project/pull/114465


More information about the llvm-commits mailing list