xref: /llvm-project/llvm/test/tools/llvm-profdata/threaded-count-mismatch.test (revision 8ea2a58a2ec6dcfc33ddab8deeb9eb0e69968c6d)
1# Test multithreaded error reporting.
2
3RUN: llvm-profdata merge -j 4 -o %t.profdata \
4RUN:   %S/Inputs/counter-mismatch-1.proftext \
5RUN:   %S/Inputs/counter-mismatch-2.proftext \
6RUN:   %S/Inputs/counter-mismatch-3.proftext \
7RUN:   %S/Inputs/counter-mismatch-4.proftext \
8RUN: 2>&1 | FileCheck %s
9
10CHECK: {{.+}}: foo: function basic block count change detected (counter mismatch)
11