1 RUN: printf '\201rforpl\377' > %t-foo.profraw 2 RUN: printf '\2\0\0\0\0\0\0\0' >> %t-foo.profraw 3 RUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw 4 RUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw 5 RUN: printf '\3\0\0\0\0\0\0\0' >> %t-foo.profraw 6 RUN: printf '\0\0\4\0\1\0\0\0' >> %t-foo.profraw 7 RUN: printf '\0\0\4\0\2\0\0\0' >> %t-foo.profraw 8 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 9 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 10 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 11 12 RUN: printf '\3\0\0\0' >> %t-foo.profraw 13 RUN: printf '\1\0\0\0' >> %t-foo.profraw 14 RUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw 15 RUN: printf '\0\0\4\0\2\0\0\0' >> %t-foo.profraw 16 RUN: printf '\0\0\4\0\1\0\0\0' >> %t-foo.profraw 17 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 18 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 19 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 20 21 RUN: printf '\023\0\0\0\0\0\0\0' >> %t-foo.profraw 22 RUN: printf 'foo\0\0\0\0\0' >> %t-foo.profraw 23 24 RUN: printf '\201rforpl\377' > %t-bar.profraw 25 RUN: printf '\2\0\0\0\0\0\0\0' >> %t-bar.profraw 26 RUN: printf '\1\0\0\0\0\0\0\0' >> %t-bar.profraw 27 RUN: printf '\2\0\0\0\0\0\0\0' >> %t-bar.profraw 28 RUN: printf '\3\0\0\0\0\0\0\0' >> %t-bar.profraw 29 RUN: printf '\0\0\6\0\1\0\0\0' >> %t-bar.profraw 30 RUN: printf '\0\0\6\0\2\0\0\0' >> %t-bar.profraw 31 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 32 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 33 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 34 35 RUN: printf '\3\0\0\0' >> %t-bar.profraw 36 RUN: printf '\2\0\0\0' >> %t-bar.profraw 37 RUN: printf '\2\0\0\0\0\0\0\0' >> %t-bar.profraw 38 RUN: printf '\0\0\6\0\2\0\0\0' >> %t-bar.profraw 39 RUN: printf '\0\0\6\0\1\0\0\0' >> %t-bar.profraw 40 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 41 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 42 RUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 43 44 RUN: printf '\067\0\0\0\0\0\0\0' >> %t-bar.profraw 45 RUN: printf '\101\0\0\0\0\0\0\0' >> %t-bar.profraw 46 RUN: printf 'bar\0\0\0\0\0' >> %t-bar.profraw 47 48 RUN: cat %t-foo.profraw %t-bar.profraw > %t-pad.profraw 49 RUN: llvm-profdata show %t-pad.profraw -all-functions -counts | FileCheck %s 50 51 CHECK: Counters: 52 CHECK: foo: 53 CHECK: Hash: 0x0000000000000001 54 CHECK: Counters: 1 55 CHECK: Function count: 19 56 CHECK: Block counts: [] 57 CHECK: bar: 58 CHECK: Hash: 0x0000000000000002 59 CHECK: Counters: 2 60 CHECK: Function count: 55 61 CHECK: Block counts: [65] 62 CHECK: Functions shown: 2 63 CHECK: Total functions: 2 64 CHECK: Maximum function count: 55 65 CHECK: Maximum internal block count: 65 66