llvm-for-llvmta/test/tools/llvm-profdata/raw-magic-but-no-header.test

7 lines
255 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
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)