xref: /aosp_15_r20/external/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: printf '\201rforpl\377' > %t
2*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-profdata show %t 2>&1 | FileCheck %s
3*9880d681SAndroid Build Coastguard WorkerRUN: printf '\377lprofr\201' > %t
4*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-profdata show %t 2>&1 | FileCheck %s
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard WorkerCHECK: error: {{.+}}: Invalid instrumentation profile data (file header is corrupt)
7