[llvm] 5e215e2 - [MemProf] Remove unused declaration (NFC) (#173323)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 17:40:40 PST 2025


Author: Teresa Johnson
Date: 2025-12-22T17:40:36-08:00
New Revision: 5e215e2bd57c659c27cfd9741bd6fffb349111f0

URL: https://github.com/llvm/llvm-project/commit/5e215e2bd57c659c27cfd9741bd6fffb349111f0
DIFF: https://github.com/llvm/llvm-project/commit/5e215e2bd57c659c27cfd9741bd6fffb349111f0.diff

LOG: [MemProf] Remove unused declaration (NFC) (#173323)

Definition and uses presumably cleaned up at some point.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/MemoryProfileInfo.h

Removed: 
    


################################################################################
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