
Use the `llvm-profdata show` command to verify debug info for profile correlation using the `--debug-info` option. Reviewed By: kyulee Differential Revision: https://reviews.llvm.org/D118181
9 lines
420 B
Plaintext
9 lines
420 B
Plaintext
RUN: not llvm-profdata show 2>&1 | FileCheck %s --check-prefix SHOW-REQ
|
|
SHOW-REQ: the positional argument '<profdata-file>' is required unless '--debug-info' is provided
|
|
|
|
RUN: not llvm-profdata show file -o file 2>&1 | FileCheck %s --check-prefix SHOW-OUT
|
|
SHOW-OUT: Input file name cannot be the same as the output file name!
|
|
|
|
RUN: not llvm-profdata 2>&1 | FileCheck %s --check-prefix EMPTY
|
|
EMPTY: No command specified!
|