• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: printf '\201rforpl\377' > %t
2RUN: printf '\4\0\0\0\0\0\0\0' >> %t
3RUN: printf '\2\0\0\0\0\0\0\0' >> %t
4RUN: printf '\3\0\0\0\0\0\0\0' >> %t
5RUN: printf '\20\0\0\0\0\0\0\0' >> %t
6RUN: printf '\0\0\4\0\1\0\0\0' >> %t
7RUN: printf '\0\0\4\0\2\0\0\0' >> %t
8RUN: printf '\0\0\0\0\0\0\0\0' >> %t
9
10RUN: printf '\254\275\030\333\114\302\370\134' >> %t
11RUN: printf '\1\0\0\0\0\0\0\0' >> %t
12RUN: printf '\0\0\4\0\1\0\0\0' >> %t
13RUN: printf '\0\0\0\0\0\0\0\0' >> %t
14RUN: printf '\0\0\0\0\0\0\0\0' >> %t
15RUN: printf '\1\0\0\0\0\0\0\0' >> %t
16
17RUN: printf '\067\265\035\031\112\165\023\344' >> %t
18RUN: printf '\02\0\0\0\0\0\0\0' >> %t
19RUN: printf '\10\0\4\0\1\0\0\0' >> %t
20RUN: printf '\0\0\0\0\0\0\0\0' >> %t
21RUN: printf '\0\0\0\0\0\0\0\0' >> %t
22RUN: printf '\02\0\0\0\0\0\0\0' >> %t
23
24RUN: printf '\023\0\0\0\0\0\0\0' >> %t
25RUN: printf '\067\0\0\0\0\0\0\0' >> %t
26RUN: printf '\101\0\0\0\0\0\0\0' >> %t
27RUN: printf '\7\0foo\1bar\0\0\0\0\0\0\0' >> %t
28
29RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s
30
31CHECK: Counters:
32CHECK:   foo:
33CHECK:     Hash: 0x0000000000000001
34CHECK:     Counters: 1
35CHECK:     Function count: 19
36CHECK:     Block counts: []
37CHECK:   bar:
38CHECK:     Hash: 0x0000000000000002
39CHECK:     Counters: 2
40CHECK:     Function count: 55
41CHECK:     Block counts: [65]
42CHECK: Functions shown: 2
43CHECK: Total functions: 2
44CHECK: Maximum function count: 55
45CHECK: Maximum internal block count: 65
46