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

Ellis Hoag via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 31 12:04:17 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
----------------
ellishg wrote:

Can we avoid creating a new `.proftext` file and instead use `split-file` so that the contents of the test is in one place?
https://llvm.org/docs/TestingGuide.html#extra-files

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


More information about the llvm-branch-commits mailing list