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

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 15:12:39 PDT 2024


================
@@ -370,12 +370,53 @@ static CallStackIdMapTy getCallStackMapping() {
   return Mapping;
 }
 
+// Populate all of the fields of MIB.
+MemInfoBlock makeFullMIB() {
----------------
snehasish wrote:

I think we should use the macro expansion of fields here so that it's future proof i.e. any new fields added to the original MIBEntry will automatically get picked up.

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


More information about the llvm-commits mailing list