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