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

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 11:00:19 PDT 2024


================
@@ -563,7 +565,11 @@ static Error writeMemProfV2(
   OS.write(0ULL); // Reserve space for the memprof call stack payload offset.
   OS.write(0ULL); // Reserve space for the memprof call stack table offset.
 
-  auto Schema = memprof::PortableMemInfoBlock::getSchema();
+  memprof::MemProfSchema Schema;
----------------
kazutakahirata wrote:

Addressed in the latest iteration.

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


More information about the llvm-commits mailing list