|
3 | 3 | // RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t.normal |
4 | 4 | // RUN: llvm-profdata merge -o %t.normal.profdata %t.profraw |
5 | 5 |
|
6 | | -// RUN: %clang_pgogen -o %t.d4 -g -gdwarf-4 -mllvm --debug-info-correlate -mllvm --disable-vp=true %S/../Inputs/instrprof-debug-info-correlate-main.cpp %S/../Inputs/instrprof-debug-info-correlate-foo.cpp |
| 6 | +// RUN: %clang_pgogen -o %t.d4 -g -gdwarf-4 -mllvm --profile-correlate=debug-info -mllvm --disable-vp=true %S/../Inputs/instrprof-debug-info-correlate-main.cpp %S/../Inputs/instrprof-debug-info-correlate-foo.cpp |
7 | 7 | // RUN: env LLVM_PROFILE_FILE=%t.d4.proflite %run %t.d4 |
8 | 8 | // RUN: llvm-profdata merge -o %t.d4.profdata --debug-info=%t.d4 %t.d4.proflite |
9 | 9 |
|
10 | 10 | // RUN: llvm-profdata show --all-functions --counts %t.normal.profdata > %t.normal.dump |
11 | 11 | // RUN: llvm-profdata show --all-functions --counts %t.d4.profdata > %t.d4.dump |
12 | 12 | // RUN: diff %t.normal.dump %t.d4.dump |
13 | 13 |
|
14 | | -// RUN: %clang_pgogen -o %t -g -mllvm --debug-info-correlate -mllvm --disable-vp=true %S/../Inputs/instrprof-debug-info-correlate-main.cpp %S/../Inputs/instrprof-debug-info-correlate-foo.cpp |
| 14 | +// RUN: %clang_pgogen -o %t -g -mllvm --profile-correlate=debug-info -mllvm --disable-vp=true %S/../Inputs/instrprof-debug-info-correlate-main.cpp %S/../Inputs/instrprof-debug-info-correlate-foo.cpp |
15 | 15 | // RUN: env LLVM_PROFILE_FILE=%t.proflite %run %t |
16 | 16 | // RUN: llvm-profdata merge -o %t.profdata --debug-info=%t %t.proflite |
17 | 17 |
|
18 | 18 | // RUN: llvm-profdata show --all-functions --counts %t.normal.profdata > %t.normal2.dump |
19 | 19 | // RUN: llvm-profdata show --all-functions --counts %t.profdata > %t.prof.dump |
20 | 20 | // RUN: diff %t.normal2.dump %t.prof.dump |
21 | 21 |
|
22 | | -// RUN: %clang_pgogen -o %t.cov -g -mllvm --debug-info-correlate -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 |
| 22 | +// 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 |
23 | 23 | // RUN: env LLVM_PROFILE_FILE=%t.cov.proflite %run %t.cov |
24 | 24 | // RUN: llvm-profdata merge -o %t.cov.profdata --debug-info=%t.cov %t.cov.proflite |
25 | 25 |
|
|
0 commit comments