mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
801d7bdaee
This reverts D85036 Differential Revision: https://reviews.llvm.org/D98084
26 lines
2.3 KiB
Plaintext
26 lines
2.3 KiB
Plaintext
|
|
// RUN: llvm-profdata merge %S/Inputs/branch-c-general.proftext -o %t.profdata
|
|
// RUN: llvm-cov show %S/Inputs/branch-c-general.o32l -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs | FileCheck %s
|
|
// RUN: llvm-cov report %S/Inputs/branch-c-general.o32l --show-branch-summary=false -instr-profile %t.profdata -show-functions -path-equivalence=/tmp,%S/Inputs %S/Inputs/branch-c-general.c | FileCheck %s -check-prefix=REPORT
|
|
|
|
// CHECK-NOT: | Branch
|
|
|
|
// REPORT: Name Regions Miss Cover Lines Miss Cover
|
|
// REPORT-NOT: Name Regions Miss Cover Lines Miss Cover Branches Miss Cover
|
|
// REPORT: ---
|
|
// REPORT-NOT: simple_loops 8 0 100.00% 9 0 100.00% 6 0 100.00%
|
|
// REPORT-NOT: conditionals 24 0 100.00% 15 0 100.00% 16 2 87.50%
|
|
// REPORT-NOT: early_exits 20 4 80.00% 25 2 92.00% 16 6 62.50%
|
|
// REPORT-NOT: jumps 39 12 69.23% 48 2 95.83% 26 9 65.38%
|
|
// REPORT-NOT: switches 28 5 82.14% 38 4 89.47% 30 9 70.00%
|
|
// REPORT-NOT: big_switch 25 1 96.00% 32 0 100.00% 30 6 80.00%
|
|
// REPORT-NOT: boolean_operators 16 0 100.00% 13 0 100.00% 22 2 90.91%
|
|
// REPORT-NOT: boolop_loops 19 0 100.00% 14 0 100.00% 16 2 87.50%
|
|
// REPORT-NOT: conditional_operator 4 2 50.00% 8 0 100.00% 4 2 50.00%
|
|
// REPORT-NOT: do_fallthrough 9 0 100.00% 12 0 100.00% 6 0 100.00%
|
|
// REPORT-NOT: main 1 0 100.00% 16 0 100.00% 0 0 0.00%
|
|
// REPORT-NOT: c-general.c:static_func 4 0 100.00% 4 0 100.00% 2 0 100.00%
|
|
// REPORT: TOTAL 197 24 87.82% 234 8 96.58%
|
|
// REPORT-NOT: TOTAL 197 24 87.82% 234 13 94.44% 174 38 78.16%
|
|
|