summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/profile/Windows/instrprof-multiprocess.test
blob: ae5ebd45bec9543d3f8b79395789a33332cde524 (plain)
1
2
3
4
5
6
7
8
9
10
RUN: %clang_profgen %S/Inputs/instrprof-multiprocess.c -o %t
RUN: rm -f %t_*.profraw
RUN: env LLVM_PROFILE_FILE=%t_%m.profraw %run %t
RUN: llvm-profdata show --counts -function=foo %t_*.profraw | FileCheck %s

CHECK: Counters:
CHECK:   foo:
CHECK:     Function count: 10
CHECK:     Block counts: [5, 5]
CHECK: Functions shown: 1
OpenPOWER on IntegriCloud