[llvm] [MemProf] Optionally save context size info on largest cold allocations (PR #142507)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 09:13:38 PDT 2025


================
@@ -24,6 +24,18 @@ class OptimizationRemarkEmitter;
 
 namespace memprof {
 
+/// Whether the alloc memeprof metadata will include context size info for all
+/// MIBs.
+LLVM_ABI bool metadataIncludesAllContextSizeInfo();
----------------
teresajohnson wrote:

Sounds like it is needed for Windows DLLs. The others were added here in https://github.com/llvm/llvm-project/pull/136623

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


More information about the llvm-commits mailing list