aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2025-05-08 11:52:26 -0700
committerGitHub <noreply@github.com>2025-05-08 11:52:26 -0700
commit8a7b5012c26f6db060bf5c472fc9fb54f37ecf65 (patch)
treead5a6dfc029ff96b68d721bff2319c53333b5ba7
parentae6e1276233ca541fdb2be1dde3074eb78277859 (diff)
downloadllvm-8a7b5012c26f6db060bf5c472fc9fb54f37ecf65.zip
llvm-8a7b5012c26f6db060bf5c472fc9fb54f37ecf65.tar.gz
llvm-8a7b5012c26f6db060bf5c472fc9fb54f37ecf65.tar.bz2
[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.
-rw-r--r--llvm/include/llvm/Bitcode/LLVMBitCodes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Bitcode/LLVMBitCodes.h b/llvm/include/llvm/Bitcode/LLVMBitCodes.h
index 9317e6a..73e74f3 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.