xref: /llvm-project/compiler-rt/test/profile/Windows/instrprof-multiprocess.test (revision 900d8a9a3b4efeefddd310e92219741d98e7270b)
1RUN: %clang_profgen %S/Inputs/instrprof-multiprocess.c -o %t
2RUN: rm -f %t_*.profraw
3RUN: env LLVM_PROFILE_FILE=%t_%m.profraw %run %t
4RUN: llvm-profdata show --counts -function=foo %t_*.profraw | FileCheck %s
5
6CHECK: Counters:
7CHECK:   foo:
8CHECK:     Function count: 10
9CHECK:     Block counts: [5, 5]
10CHECK: Functions shown: 1
11