aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-profdata/threaded-count-mismatch.test
blob: 3341e54af48923d2ac40df8d055fe4f6ad030226 (plain)
1
2
3
4
5
6
7
8
9
10
# Test multithreaded error reporting.

RUN: llvm-profdata merge -j 4 -o %t.profdata \
RUN:   %S/Inputs/counter-mismatch-1.proftext \
RUN:   %S/Inputs/counter-mismatch-2.proftext \
RUN:   %S/Inputs/counter-mismatch-3.proftext \
RUN:   %S/Inputs/counter-mismatch-4.proftext \
RUN: 2>&1 | FileCheck %s

CHECK: {{.+}}: foo: function basic block count change detected (counter mismatch)