2 RUN: printf '\377lprofr\201' > %t
4 RUN: printf '\0\01\0\0\0\0\0\10' >> %t
5 // The rest of the header needs to be there to prevent a broken header error.
6 RUN: printf '\0\0\0\0\0\0\0\0' >> %t
7 RUN: printf '\0\0\0\0\0\0\0\2' >> %t
8 RUN: printf '\0\0\0\0\0\0\0\0' >> %t
9 RUN: printf '\0\0\0\0\0\0\0\3' >> %t
10 RUN: printf '\0\0\0\0\0\0\0\0' >> %t
11 RUN: printf '\0\0\0\0\0\0\0\20' >> %t
12 RUN: printf '\0\0\0\1\0\4\0\0' >> %t
13 RUN: printf '\0\0\0\2\0\4\0\0' >> %t
14 RUN: printf '\0\0\0\0\0\0\0\0' >> %t
16 RUN: not llvm-profdata show %t -o /dev/null 2>&1 | FileCheck %s
18 CHECK: raw profile version mismatch: Profile uses raw profile format version = 281474976710664; expected version = {{[0-9]+}}
19 CHECK-NEXT: PLEASE update this tool to version in the raw profile, or regenerate raw profile with expected version.