1RUN: printf '\201rforpl\377' > %t.profraw 2RUN: printf '\10\0\0\0\0\0\0\0' >> %t.profraw 3// We should fail on this because the data buffer (profraw file) is not long 4// enough to hold this binary IDs size. NOTE that this (combined with the 8-byte 5// alignment requirement for binary IDs size) will ensure we can at least read one 6// 8-byte size if the binary IDs are provided. 7RUN: printf '\8\0\0\0\0\0\0\0' >> %t.profraw 8RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 9RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 10RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 11RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 12RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 13RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 14RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 15RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 16 17RUN: printf '\0\0\0\0\0\0\0' >> %t.profraw 18 19// RUN: not llvm-profdata show --binary-ids %t.profraw 2>&1 | FileCheck %s 20// CHECK: invalid instrumentation profile data (file header is corrupt) 21