xref: /llvm-project/llvm/test/tools/llvm-profdata/errors.test (revision 493e2400caa0a3cb47bbf4830ab90a3038ff15e3)
1RUN: not llvm-profdata show 2>&1 | FileCheck %s --check-prefix SHOW-REQ
2SHOW-REQ: the positional argument '<profdata-file>' is required unless '--debug-info' is provided
3
4RUN: not llvm-profdata show file -o file 2>&1 | FileCheck %s --check-prefix SHOW-OUT
5SHOW-OUT: Input file name cannot be the same as the output file name!
6
7RUN: not llvm-profdata 2>&1 | FileCheck %s --check-prefix EMPTY
8EMPTY: No subcommand specified!
9