[llvm] [MemProf] Remove unused declaration (NFC) (PR #173323)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 17:06:24 PST 2025


https://github.com/teresajohnson created https://github.com/llvm/llvm-project/pull/173323

Definition and uses presumably cleaned up at some point.


>From e9a1b7f8c39356cf5e8bae94e18371b249e5ec51 Mon Sep 17 00:00:00 2001
From: Teresa Johnson <tejohnson at google.com>
Date: Mon, 22 Dec 2025 17:05:07 -0800
Subject: [PATCH] [MemProf] Remove unused declaration (NFC)

Definition and uses presumably cleaned up at some point.
---
 llvm/include/llvm/Analysis/MemoryProfileInfo.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/llvm/include/llvm/Analysis/MemoryProfileInfo.h b/llvm/include/llvm/Analysis/MemoryProfileInfo.h
index be690a49767b4..ba4010bd8f50c 100644
--- a/llvm/include/llvm/Analysis/MemoryProfileInfo.h
+++ b/llvm/include/llvm/Analysis/MemoryProfileInfo.h
@@ -41,12 +41,6 @@ LLVM_ABI bool recordContextSizeInfoForAnalysis();
 LLVM_ABI MDNode *buildCallstackMetadata(ArrayRef<uint64_t> CallStack,
                                         LLVMContext &Ctx);
 
-/// Build metadata from the provided list of full stack id and profiled size, to
-/// use when reporting of hinted sizes is enabled.
-LLVM_ABI MDNode *
-buildContextSizeMetadata(ArrayRef<ContextTotalSize> ContextSizeInfo,
-                         LLVMContext &Ctx);
-
 /// Returns the stack node from an MIB metadata node.
 LLVM_ABI MDNode *getMIBStackNode(const MDNode *MIB);
 



More information about the llvm-commits mailing list