This fixes buildbot failure in LLVM on llvm-clang-x86_64-expensive-checks-win
from r365386.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365401
91177308-0d34-0410-b5e6-
96231b3b80d8
We report error for the show command.
RUN: not llvm-profdata show -o %t.1.profdata %t.1.profdata 2>&1 | FileCheck %s
-CHECK: llvm-profdata show: Input file name cannot be the same as the output file name!
+CHECK: llvm-profdata{{.*}} show: Input file name cannot be the same as the output file name!
This is OK for merging sample fdo profiles.
RUN: cp %S/Inputs/same-name-3.proftext %t.3.proftext