1 RUN: %clang_profgen %S/Inputs/instrprof-multiprocess.c -o %t
2 RUN: rm -f %t_*.profraw
3 RUN: env LLVM_PROFILE_FILE=%t_%m.profraw %run %t
4 RUN: llvm-profdata show --counts -function=foo %t_*.profraw | FileCheck %s
8 CHECK: Function count: 10
9 CHECK: Block counts: [5, 5]
10 CHECK: Functions shown: 1