[llvm] [memprof] Add another constructor to IndexedAllocationInfo (NFC) (PR #116684)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 13:30:20 PST 2024


================
@@ -354,10 +354,15 @@ struct IndexedAllocationInfo {
   PortableMemInfoBlock Info;
 
   IndexedAllocationInfo() = default;
+  // This constructor is soft deprecated.  It will be removed once we remove all
+  // users of the CallStack field.
----------------
snehasish wrote:

Add the `LLVM_DEPRECATED` attribute?

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


More information about the llvm-commits mailing list