blob: bd2b797831fc4506e488c63c85be317b7b8df549 [file] [log] [blame]
RUN: printf '\201rforpl\377' > %t
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
RUN: printf '\377lprofr\201' > %t
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
CHECK: error: {{.+}}: invalid instrumentation profile data (file header is corrupt)