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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 08:20:27 PDT 2024


================
@@ -16,6 +16,9 @@ RUN: llvm-profdata show %t.prof.v1 | FileCheck %s
 RUN: llvm-profdata merge %t.proftext %p/Inputs/basic.memprofraw --memprof-version=2 --profiled-binary %p/Inputs/basic.memprofexe -o %t.prof.v2
 RUN: llvm-profdata show %t.prof.v2 | FileCheck %s
 
+RUN: llvm-profdata merge %t.proftext %p/Inputs/basic.memprofraw --memprof-version=2 --memprof-full-schema --profiled-binary %p/Inputs/basic.memprofexe -o %t.prof.v2
+RUN: llvm-profdata show %t.prof.v2 | FileCheck %s
----------------
teresajohnson wrote:

Is there any way to check the output to confirm that we either serialized 4 fields or all fields?

Also, just noticed that this test has "v0" in the name, should the name be changed to reflect the fact that it is testing all versions? (not in this PR but separately)

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


More information about the llvm-commits mailing list