[llvm] 8a7b501 - [MemProf] Fix summary bitcode record description (NFC) (#139127)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 11:52:30 PDT 2025


Author: Teresa Johnson
Date: 2025-05-08T11:52:26-07:00
New Revision: 8a7b5012c26f6db060bf5c472fc9fb54f37ecf65

URL: https://github.com/llvm/llvm-project/commit/8a7b5012c26f6db060bf5c472fc9fb54f37ecf65
DIFF: https://github.com/llvm/llvm-project/commit/8a7b5012c26f6db060bf5c472fc9fb54f37ecf65.diff

LOG: [MemProf] Fix summary bitcode record description (NFC) (#139127)

Commit 776476c282bca71d5b856e80e0a88fbd6f3ccdd2 (PR117404), which
introduced the radix tree representation of allocation context summary
records, incorrectly changed the description of the
FS_COMBINED_CALLSITE_INFO record instead of the intended
FS_COMBINED_ALLOC_INFO record.

Added: 
    

Modified: 
    llvm/include/llvm/Bitcode/LLVMBitCodes.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Bitcode/LLVMBitCodes.h b/llvm/include/llvm/Bitcode/LLVMBitCodes.h
index 9317e6aa793de..73e74f3836ca4 100644
--- a/llvm/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/llvm/include/llvm/Bitcode/LLVMBitCodes.h
@@ -311,12 +311,12 @@ enum GlobalValueSummarySymtabCodes {
   // [nummib x (numcontext x total size)]?]
   FS_PERMODULE_ALLOC_INFO = 27,
   // Summary of combined index memprof callsite metadata.
-  // [valueid, context radix tree index, numver,
-  //  numver x version]
+  // [valueid, numstackindices, numver,
+  //  numstackindices x stackidindex, numver x version]
   FS_COMBINED_CALLSITE_INFO = 28,
   // Summary of combined index allocation memprof metadata.
   // [nummib, numver,
-  //  nummib x (alloc type, numstackids, numstackids x stackidindex),
+  //  nummib x (alloc type, context radix tree index),
   //  numver x version]
   FS_COMBINED_ALLOC_INFO = 29,
   // List of all stack ids referenced by index in the callsite and alloc infos.


        


More information about the llvm-commits mailing list