summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/threaded-count-mismatch.test
blob: 8e704cf85a691721fe32221f73ea0a13e3abe7c5 (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: Function basic block count change detected (counter mismatch)
OpenPOWER on IntegriCloud