81 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-foo.profraw5RUN: printf '\12\0\0\0\0\0\0\0' >> %t-foo.profraw6RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw7RUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw8RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw9RUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw10RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw11RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw12RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw13RUN: printf '\10\0\0\0\0\0\0\0' >> %t-foo.profraw14RUN: printf '\0\0\4\0\1\0\0\0' >> %t-foo.profraw15RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw16RUN: printf '\0\0\4\0\2\0\0\0' >> %t-foo.profraw17RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw18RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw19RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw20 21RUN: printf '\254\275\030\333\114\302\370\134' >> %t-foo.profraw22RUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw23RUN: printf '\0\0\4\0\1\0\0\0' >> %t-foo.profraw24RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw25RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw26RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw27RUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw28RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw29 30RUN: printf '\023\0\0\0\0\0\0\0' >> %t-foo.profraw31RUN: printf '\3\0foo\0\0\0' >> %t-foo.profraw32 33RUN: printf '\201rforpl\377' > %t-bar.profraw34RUN: printf '\12\0\0\0\0\0\0\0' >> %t-bar.profraw35RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw36RUN: printf '\1\0\0\0\0\0\0\0' >> %t-bar.profraw37RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw38RUN: printf '\2\0\0\0\0\0\0\0' >> %t-bar.profraw39RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw40RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw41RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw42RUN: printf '\10\0\0\0\0\0\0\0' >> %t-bar.profraw43RUN: printf '\0\0\6\0\1\0\0\0' >> %t-bar.profraw44RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw45RUN: printf '\0\0\6\0\2\0\0\0' >> %t-bar.profraw46RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw47RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw48RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw49 50RUN: printf '\067\265\035\031\112\165\023\344' >> %t-bar.profraw51RUN: printf '\02\0\0\0\0\0\0\0' >> %t-bar.profraw52RUN: printf '\0\0\6\0\1\0\0\0' >> %t-bar.profraw53RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw54RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw55RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw56RUN: printf '\02\0\0\0\0\0\0\0' >> %t-bar.profraw57RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw58 59RUN: printf '\067\0\0\0\0\0\0\0' >> %t-bar.profraw60RUN: printf '\101\0\0\0\0\0\0\0' >> %t-bar.profraw61RUN: printf '\3\0bar\0\0\0' >> %t-bar.profraw62 63RUN: cat %t-foo.profraw %t-bar.profraw > %t-pad.profraw64RUN: llvm-profdata show %t-pad.profraw -all-functions -counts | FileCheck %s65 66CHECK: Counters:67CHECK: foo:68CHECK: Hash: 0x000000000000000169CHECK: Counters: 170CHECK: Function count: 1971CHECK: Block counts: []72CHECK: bar:73CHECK: Hash: 0x000000000000000274CHECK: Counters: 275CHECK: Function count: 5576CHECK: Block counts: [65]77CHECK: Functions shown: 278CHECK: Total functions: 279CHECK: Maximum function count: 5580CHECK: Maximum internal block count: 6581