Home | History | Annotate | Download | only in llvm-profdata

Lines Matching full:overflow

1 Tests for overflow when merging instrumented profiles.
3 1- Merge profile having maximum counts with itself and verify overflow detected and saturation occurred
4 RUN: llvm-profdata merge -instr %p/Inputs/overflow-instr.proftext %p/Inputs/overflow-instr.proftext -o %t.out 2>&1 | FileCheck %s -check-prefix=MERGE_OVERFLOW
6 MERGE_OVERFLOW: {{.*}}: overflow: Counter overflow
11 2- Merge profile having maximum counts by itself and verify no overflow
12 RUN: llvm-profdata merge -instr %p/Inputs/overflow-instr.proftext -o %t.out 2>&1 | FileCheck %s -check-prefix=MERGE_NO_OVERFLOW -allow-empty
14 MERGE_NO_OVERFLOW-NOT: {{.*}}: overflow: Counter overflow