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) |