2014-03-23 11:38:12 +08:00
|
|
|
RUN: printf '\201Rforpl\377' > %t
|
2016-02-09 02:13:49 +08:00
|
|
|
RUN: printf '\3\0\0\0\0\0\0\0' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
RUN: printf '\2\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\3\0\0\0\0\0\0\0' >> %t
|
2016-02-09 02:13:49 +08:00
|
|
|
RUN: printf '\20\0\0\0\0\0\0\0' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
RUN: printf '\0\0\0\1\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\0\0\0\2\0\0\0\0' >> %t
|
2015-11-19 02:14:55 +08:00
|
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
|
2016-02-09 02:13:49 +08:00
|
|
|
RUN: printf '\254\275\030\333\114\302\370\134' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
RUN: printf '\1\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\0\0\0\1' >> %t
|
2015-11-19 02:14:55 +08:00
|
|
|
RUN: printf '\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\0\0\0\0' >> %t
|
2016-02-09 02:13:49 +08:00
|
|
|
RUN: printf '\1\0\0\0' >> %t
|
2015-11-19 02:14:55 +08:00
|
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
|
2016-02-09 02:13:49 +08:00
|
|
|
RUN: printf '\067\265\035\031\112\165\023\344' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
RUN: printf '\02\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\10\0\0\1' >> %t
|
2015-11-19 02:14:55 +08:00
|
|
|
RUN: printf '\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\0\0\0\0' >> %t
|
2016-02-09 02:13:49 +08:00
|
|
|
RUN: printf '\2\0\0\0' >> %t
|
2015-11-19 02:14:55 +08:00
|
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
|
|
|
|
RUN: printf '\023\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\067\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\101\0\0\0\0\0\0\0' >> %t
|
2016-03-29 05:06:42 +08:00
|
|
|
RUN: printf '\7\0foo\1bar\0\0\0\0\0\0\0' >> %t
|
2014-03-23 11:38:12 +08:00
|
|
|
|
|
|
|
RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s
|
|
|
|
|
|
|
|
CHECK: Counters:
|
|
|
|
CHECK: foo:
|
|
|
|
CHECK: Hash: 0x0000000000000001
|
|
|
|
CHECK: Counters: 1
|
|
|
|
CHECK: Function count: 19
|
|
|
|
CHECK: Block counts: []
|
|
|
|
CHECK: bar:
|
|
|
|
CHECK: Hash: 0x0000000000000002
|
|
|
|
CHECK: Counters: 2
|
|
|
|
CHECK: Function count: 55
|
|
|
|
CHECK: Block counts: [65]
|
|
|
|
CHECK: Functions shown: 2
|
|
|
|
CHECK: Total functions: 2
|
|
|
|
CHECK: Maximum function count: 55
|
|
|
|
CHECK: Maximum internal block count: 65
|