aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-profdata/errors.test
blob: 6cf2a5ffac6e2f3e286931b9db8145cd4f6ceb2f (plain)
1
2
3
4
5
6
7
8
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 subcommand specified!