brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · b62bdad Raw
29 lines · plain
1// gnuwin32 printf does not work for this test because it will print \15 (CR)2// whenever \12 (LF) is in the input string.3UNSUPPORTED: system-windows4RUN: printf '\201rforpl\377' > %t.profraw5RUN: printf '\12\0\0\0\0\0\0\0' >> %t.profraw6RUN: printf '\40\0\0\0\0\0\0\0' >> %t.profraw7RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw8RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw9RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw10RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw11RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw12RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw13RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw14RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw15RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw16RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw17RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw18RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw19RUN: printf '\0\0\0\0\0\0\0\0' >> %t.profraw20 21// Check for a corrupted size being too large past the end of the file.22RUN: printf '\7\7\7\7\7\7\7\7' >> %t.profraw23RUN: printf '\0\1\2\3\4\5\6\7' >> %t.profraw24RUN: printf '\0\1\2\3\4\5\6\7' >> %t.profraw25RUN: printf '\0\1\2\3\0\0\0\0' >> %t.profraw26 27// RUN: not llvm-profdata show --binary-ids  %t.profraw 2>&1 | FileCheck %s28// CHECK: malformed instrumentation profile data: not enough data to read binary id data29