[llvm] [memprof] Reduce schema for Version2 (PR #89876)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 09:26:32 PDT 2024


================
@@ -117,14 +117,21 @@ struct PortableMemInfoBlock {
   void clear() { *this = PortableMemInfoBlock(); }
 
   // Returns the full schema currently in use.
-  static MemProfSchema getSchema() {
+  static MemProfSchema getFullSchema() {
----------------
snehasish wrote:

Any reason that these are part of the PortableMemInfoBlock? IMO they should be peers of the Schema itself (under llvm::memprof).

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


More information about the llvm-commits mailing list