[llvm] [MemProf] Optionally save context size info on largest cold allocations (PR #142507)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 09:09:27 PDT 2025
================
@@ -168,7 +187,8 @@ void CallStackTrie::addCallStack(MDNode *MIB) {
static MDNode *createMIBNode(LLVMContext &Ctx, ArrayRef<uint64_t> MIBCallStack,
AllocationType AllocType,
ArrayRef<ContextTotalSize> ContextSizeInfo,
- uint64_t &TotalBytes, uint64_t &ColdBytes) {
+ uint64_t &TotalBytes, uint64_t &ColdBytes,
----------------
snehasish wrote:
Also noticed another place in the existing code where this happens -- ` CallStackTrie::buildMIBNodes` (in case you'd like to clean up after).
https://github.com/llvm/llvm-project/pull/142507
More information about the llvm-commits
mailing list