Ellis Hoag c9baa5608b [InstrProf][Correlate] Verify debug info with llvm-profdata show
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
2022-01-27 10:11:04 -08:00

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!