|
12 | 12 | // RUN: llvm-profdata merge -o %t-1.profdata --binary-file=%t-1.exe %t-1.profraw
|
13 | 13 | // RUN: llvm-cov report --instr-profile=%t-1.profdata %t-1.exe > %t-1.report
|
14 | 14 | // RUN: llvm-cov show --instr-profile=%t-1.profdata %t-1.exe > %t-1.show
|
15 |
| -// RUN: diff %t.normal.profdata %t-1.profdata |
| 15 | +// RUN: llvm-profdata show --all-functions --counts %t.normal.profdata > %t.normal.profdata.show |
| 16 | +// RUN: llvm-profdata show --all-functions --counts %t-1.profdata > %t-1.profdata.show |
| 17 | +// RUN: diff %t.normal.profdata.show %t-1.profdata.show |
16 | 18 | // RUN: diff %t.normal.report %t-1.report
|
17 | 19 | // RUN: diff %t.normal.show %t-1.show
|
18 | 20 |
|
|
22 | 24 | // RUN: llvm-profdata merge -o %t-2.profdata --binary-file=%t-1.exe %t-2.profraw
|
23 | 25 | // RUN: llvm-cov report --instr-profile=%t-2.profdata %t-1.exe > %t-2.report
|
24 | 26 | // RUN: llvm-cov show --instr-profile=%t-2.profdata %t-1.exe > %t-2.show
|
25 |
| -// RUN: diff %t.normal.profdata %t-2.profdata |
| 27 | +// RUN: llvm-profdata show --all-functions --counts %t-2.profdata > %t-2.profdata.show |
| 28 | +// RUN: diff %t.normal.profdata.show %t-2.profdata.show |
26 | 29 | // RUN: diff %t.normal.report %t-2.report
|
27 | 30 | // RUN: diff %t.normal.show %t-2.show
|
28 | 31 |
|
|
39 | 42 | // RUN: llvm-profdata merge -o %t-4.profdata --binary-file=%t-1.exe %t.profdir
|
40 | 43 | // RUN: llvm-cov report --instr-profile=%t-4.profdata %t-1.exe > %t-4.report
|
41 | 44 | // RUN: llvm-cov show --instr-profile=%t-4.profdata %t-1.exe > %t-4.show
|
42 |
| -// RUN: diff %t.normal.merged.profdata %t-4.profdata |
| 45 | +// RUN: llvm-profdata show --all-functions --counts %t.normal.merged.profdata > %t.normal.merged.profdata.show |
| 46 | +// RUN: llvm-profdata show --all-functions --counts %t-4.profdata > %t-4.profdata.show |
| 47 | +// RUN: diff %t.normal.merged.profdata.show %t-4.profdata.show |
43 | 48 | // RUN: diff %t.normal.merged.report %t-4.report
|
44 | 49 | // RUN: diff %t.normal.merged.show %t-4.show
|
45 | 50 |
|
|
0 commit comments