bolt/deps/llvm-18.1.8/compiler-rt/test/profile/Windows/instrprof-multiprocess.test
2025-02-14 19:21:04 +01:00

10 lines
329 B
Text

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