[llvm-branch-commits] [misexpect] Support diagnostics from frontend profile data (PR #96524)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 31 15:05:32 PDT 2024


================
@@ -0,0 +1,44 @@
+// Test that missing-annotations detects branches that are hot, but not annotated
+
+// test diagnostics are issued when profiling data mis-matches annotations
+// RUN: llvm-profdata merge %S/Inputs/missing-annotations-branch.proftext -o %t.profdata
----------------
ilovepi wrote:

Sure. The use of Inputs here is mostly following the convention I've seen in other tests. I'm unsure how much I can reuse the `.proftext` file between tests, so I can probably just use split-lines for those too.

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


More information about the llvm-branch-commits mailing list