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 binary IDs is not a multiple of 8 bytes. 4RUN: printf '\77\0\0\0\0\0\0\0' >> %t.profraw 5RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 6RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw 7RUN: printf '\0\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 13 14// Binary IDs - There are only two in this case that are 20 bytes. 15RUN: printf '\24\0\0\0\0\0\0\0' >> %t.profraw 16RUN: printf '\0\1\2\3\4\5\6\7' >> %t.profraw 17RUN: printf '\0\1\2\3\4\5\6\7' >> %t.profraw 18RUN: printf '\0\1\2\3\0\0\0\0' >> %t.profraw 19RUN: printf '\24\0\0\0\0\0\0\0' >> %t.profraw 20RUN: printf '\1\1\1\1\1\1\1\1' >> %t.profraw 21RUN: printf '\2\2\2\2\2\2\2\2' >> %t.profraw 22RUN: printf '\3\3\3\3\0\0\0\0' >> %t.profraw 23 24// RUN: not llvm-profdata show --binary-ids %t.profraw 2>&1 | FileCheck %s 25// CHECK: invalid instrumentation profile data (file header is corrupt) 26