[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


================
@@ -93,7 +103,8 @@ class CallStackTrie {
   /// allocation call down to the bottom of the call stack (i.e. callee to
   /// caller order).
   void addCallStack(AllocationType AllocType, ArrayRef<uint64_t> StackIds,
-                    uint64_t TotalSize = 0);
+                    std::vector<ContextTotalSize> ContextSizeInfo =
+                        std::vector<ContextTotalSize>());
----------------
snehasish wrote:

nit: Just  `= {}`?

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


More information about the llvm-commits mailing list