1*9880d681SAndroid Build Coastguard WorkerRUN: printf '\201rforpl\377' > %t-foo.profraw 2*9880d681SAndroid Build Coastguard WorkerRUN: printf '\4\0\0\0\0\0\0\0' >> %t-foo.profraw 3*9880d681SAndroid Build Coastguard WorkerRUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw 4*9880d681SAndroid Build Coastguard WorkerRUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw 5*9880d681SAndroid Build Coastguard WorkerRUN: printf '\10\0\0\0\0\0\0\0' >> %t-foo.profraw 6*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\4\0\1\0\0\0' >> %t-foo.profraw 7*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\4\0\2\0\0\0' >> %t-foo.profraw 8*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard WorkerRUN: printf '\254\275\030\333\114\302\370\134' >> %t-foo.profraw 11*9880d681SAndroid Build Coastguard WorkerRUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw 12*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\4\0\1\0\0\0' >> %t-foo.profraw 13*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 14*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\0\0\0\0\0\0' >> %t-foo.profraw 15*9880d681SAndroid Build Coastguard WorkerRUN: printf '\1\0\0\0\0\0\0\0' >> %t-foo.profraw 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard WorkerRUN: printf '\023\0\0\0\0\0\0\0' >> %t-foo.profraw 18*9880d681SAndroid Build Coastguard WorkerRUN: printf '\3\0foo\0\0\0' >> %t-foo.profraw 19*9880d681SAndroid Build Coastguard Worker 20*9880d681SAndroid Build Coastguard WorkerRUN: printf '\201rforpl\377' > %t-bar.profraw 21*9880d681SAndroid Build Coastguard WorkerRUN: printf '\4\0\0\0\0\0\0\0' >> %t-bar.profraw 22*9880d681SAndroid Build Coastguard WorkerRUN: printf '\1\0\0\0\0\0\0\0' >> %t-bar.profraw 23*9880d681SAndroid Build Coastguard WorkerRUN: printf '\2\0\0\0\0\0\0\0' >> %t-bar.profraw 24*9880d681SAndroid Build Coastguard WorkerRUN: printf '\10\0\0\0\0\0\0\0' >> %t-bar.profraw 25*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\6\0\1\0\0\0' >> %t-bar.profraw 26*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\6\0\2\0\0\0' >> %t-bar.profraw 27*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 28*9880d681SAndroid Build Coastguard Worker 29*9880d681SAndroid Build Coastguard WorkerRUN: printf '\067\265\035\031\112\165\023\344' >> %t-bar.profraw 30*9880d681SAndroid Build Coastguard WorkerRUN: printf '\02\0\0\0\0\0\0\0' >> %t-bar.profraw 31*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\6\0\1\0\0\0' >> %t-bar.profraw 32*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 33*9880d681SAndroid Build Coastguard WorkerRUN: printf '\0\0\0\0\0\0\0\0' >> %t-bar.profraw 34*9880d681SAndroid Build Coastguard WorkerRUN: printf '\02\0\0\0\0\0\0\0' >> %t-bar.profraw 35*9880d681SAndroid Build Coastguard Worker 36*9880d681SAndroid Build Coastguard WorkerRUN: printf '\067\0\0\0\0\0\0\0' >> %t-bar.profraw 37*9880d681SAndroid Build Coastguard WorkerRUN: printf '\101\0\0\0\0\0\0\0' >> %t-bar.profraw 38*9880d681SAndroid Build Coastguard WorkerRUN: printf '\3\0bar\0\0\0' >> %t-bar.profraw 39*9880d681SAndroid Build Coastguard Worker 40*9880d681SAndroid Build Coastguard WorkerRUN: cat %t-foo.profraw %t-bar.profraw > %t-pad.profraw 41*9880d681SAndroid Build Coastguard WorkerRUN: llvm-profdata show %t-pad.profraw -all-functions -counts | FileCheck %s 42*9880d681SAndroid Build Coastguard Worker 43*9880d681SAndroid Build Coastguard WorkerCHECK: Counters: 44*9880d681SAndroid Build Coastguard WorkerCHECK: foo: 45*9880d681SAndroid Build Coastguard WorkerCHECK: Hash: 0x0000000000000001 46*9880d681SAndroid Build Coastguard WorkerCHECK: Counters: 1 47*9880d681SAndroid Build Coastguard WorkerCHECK: Function count: 19 48*9880d681SAndroid Build Coastguard WorkerCHECK: Block counts: [] 49*9880d681SAndroid Build Coastguard WorkerCHECK: bar: 50*9880d681SAndroid Build Coastguard WorkerCHECK: Hash: 0x0000000000000002 51*9880d681SAndroid Build Coastguard WorkerCHECK: Counters: 2 52*9880d681SAndroid Build Coastguard WorkerCHECK: Function count: 55 53*9880d681SAndroid Build Coastguard WorkerCHECK: Block counts: [65] 54*9880d681SAndroid Build Coastguard WorkerCHECK: Functions shown: 2 55*9880d681SAndroid Build Coastguard WorkerCHECK: Total functions: 2 56*9880d681SAndroid Build Coastguard WorkerCHECK: Maximum function count: 55 57*9880d681SAndroid Build Coastguard WorkerCHECK: Maximum internal block count: 65 58