|
7 | 7 | // RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t.normal |
8 | 8 | // RUN: llvm-profdata merge -o %t.normal.profdata %t.profraw |
9 | 9 |
|
10 | | -// RUN: diff <(llvm-profdata show --all-functions --counts %t.normal.profdata) <(llvm-profdata show --all-functions --counts %t.profdata) |
| 10 | +// RUN: llvm-profdata show --all-functions --counts %t.normal.profdata > %t.normal.functions |
| 11 | +// RUN: llvm-profdata show --all-functions --counts %t.profdata > %t.functions |
| 12 | +// RUN: diff %t.normal.functions %t.functions |
11 | 13 |
|
12 | 14 | // RUN: %clang_pgogen -o %t.cov -g -mllvm --profile-correlate=debug-info -mllvm -pgo-function-entry-coverage -mllvm --disable-vp=true %S/../Inputs/instrprof-debug-info-correlate-main.cpp %S/../Inputs/instrprof-debug-info-correlate-foo.cpp |
13 | 15 | // RUN: env LLVM_PROFILE_FILE=%t.cov.proflite %run %t.cov |
|
17 | 19 | // RUN: env LLVM_PROFILE_FILE=%t.cov.profraw %run %t.cov.normal |
18 | 20 | // RUN: llvm-profdata merge -o %t.cov.normal.profdata %t.cov.profraw |
19 | 21 |
|
20 | | -// RUN: diff <(llvm-profdata show --all-functions --counts %t.cov.normal.profdata) <(llvm-profdata show --all-functions --counts %t.cov.profdata) |
| 22 | +// RUN: llvm-profdata show --all-functions --counts %t.cov.normal.profdata > %t.cov.normal.functions |
| 23 | +// RUN: llvm-profdata show --all-functions --counts %t.cov.profdata > %t.cov.functions |
| 24 | +// RUN: diff %t.cov.normal.functions %t.cov.functions |
21 | 25 |
|
22 | 26 | // Test debug info correlate with online merging. |
23 | 27 |
|
|
30 | 34 | // RUN: env LLVM_PROFILE_FILE=%t.profdir/%m.proflite %run %t |
31 | 35 | // RUN: llvm-profdata merge -o %t.profdata --debug-info=%t.dSYM %t.profdir/ |
32 | 36 |
|
33 | | -// RUN: diff <(llvm-profdata show --all-functions --counts %t.normal.profdata) <(llvm-profdata show --all-functions --counts %t.profdata) |
| 37 | +// RUN: llvm-profdata show --all-functions --counts %t.normal.profdata > %t.normal.functions |
| 38 | +// RUN: llvm-profdata show --all-functions --counts %t.profdata > %t.functions |
| 39 | +// RUN: diff %t.normal.functions %t.functions |
34 | 40 |
|
35 | 41 | // RUN: rm -rf %t.profdir && mkdir %t.profdir |
36 | 42 | // RUN: env LLVM_PROFILE_FILE=%t.profdir/%m.cov.proflite %run %t.cov |
37 | 43 | // RUN: env LLVM_PROFILE_FILE=%t.profdir/%m.cov.proflite %run %t.cov |
38 | 44 | // RUN: llvm-profdata merge -o %t.cov.profdata --debug-info=%t.cov.dSYM %t.profdir/ |
39 | 45 |
|
40 | | -// RUN: diff <(llvm-profdata show --all-functions --counts %t.cov.normal.profdata) <(llvm-profdata show --all-functions --counts %t.cov.profdata) |
| 46 | +// RUN: llvm-profdata show --all-functions --counts %t.cov.normal.profdata > %t.cov.normal.functions |
| 47 | +// RUN: llvm-profdata show --all-functions --counts %t.cov.profdata > %t.cov.functions |
| 48 | +// RUN: diff %t.cov.normal.functions %t.cov.functions |
0 commit comments