[llvm] [MemProf] Remove unused declaration (NFC) (PR #173323)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 22 17:06:55 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-analysis
Author: Teresa Johnson (teresajohnson)
<details>
<summary>Changes</summary>
Definition and uses presumably cleaned up at some point.
---
Full diff: https://github.com/llvm/llvm-project/pull/173323.diff
1 Files Affected:
- (modified) llvm/include/llvm/Analysis/MemoryProfileInfo.h (-6)
``````````diff
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);
``````````
</details>
https://github.com/llvm/llvm-project/pull/173323
More information about the llvm-commits
mailing list