25 lines · plain
1// Magic2RUN: printf '\377lprofr\201' > %t3// Version4RUN: printf '\0\0\0\0\10\0\0\10' >> %t5// The rest of the header needs to be there to prevent a broken header error.6RUN: printf '\0\0\0\0\0\0\0\0' >> %t7RUN: printf '\0\0\0\0\0\0\0\2' >> %t8RUN: printf '\0\0\0\0\0\0\0\0' >> %t9RUN: printf '\0\0\0\0\0\0\0\3' >> %t10RUN: printf '\0\0\0\0\0\0\0\0' >> %t11RUN: printf '\0\0\0\0\0\0\0\0' >> %t12RUN: printf '\0\0\0\0\0\0\0\0' >> %t13RUN: printf '\0\0\0\0\0\0\0\0' >> %t14RUN: printf '\0\0\0\0\0\0\0\20' >> %t15RUN: printf '\0\0\0\1\0\4\0\0' >> %t16RUN: printf '\0\0\0\2\0\4\0\0' >> %t17RUN: printf '\0\0\0\0\0\0\0\0' >> %t18RUN: printf '\0\0\0\0\0\0\0\0' >> %t19RUN: printf '\0\0\0\0\0\0\0\0' >> %t20 21RUN: not llvm-profdata show %t -o /dev/null 2>&1 | FileCheck %s22 23CHECK: raw profile version mismatch: Profile uses raw profile format version = 134217736; expected version = {{[0-9]+}}24CHECK-NEXT: PLEASE update this tool to version in the raw profile, or regenerate raw profile with expected version.25