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