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

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 14:08:51 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.
----------------
kazutakahirata wrote:

We cannot quite put `LLVM_DEPRECATED` yet as that would break `-Werror` builds.

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


More information about the llvm-commits mailing list