[llvm] [memprof] Add YAML read/write support to llvm-profdata (PR #118915)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 18:37:28 PST 2024


================
@@ -0,0 +1,8 @@
+; REQUIRES: x86_64-linux
+; RUN: split-file %s %t
+; RUN: not llvm-profdata merge %t/memprof-invalid.yaml -o %t/memprof-invalid.indexed
+
+; Verify that the invalid YAML input results in an error.
----------------
teresajohnson wrote:

Do we get any kind of meaningful error about it being the wrong format? I'm concerned about how easy/difficult it will be to recognize what needs to be fixed if the format is wrong?

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


More information about the llvm-commits mailing list