11 lines · plain
1RUN: %clang_profgen %S/Inputs/instrprof-multiprocess.c -o %t2RUN: rm -f %t_*.profraw3RUN: env LLVM_PROFILE_FILE=%t_%m.profraw %run %t4RUN: llvm-profdata show --counts -function=foo %t_*.profraw | FileCheck %s5 6CHECK: Counters:7CHECK: foo:8CHECK: Function count: 109CHECK: Block counts: [5, 5]10CHECK: Functions shown: 111