llvm-project/compiler-rt/test/profile/instrprof-gcov-multithread_...

12 lines
310 B
Plaintext

UNSUPPORTED: windows
RUN: mkdir -p %t.d
RUN: cd %t.d
RUN: %clangxx --coverage -lpthread -o %t %S/Inputs/instrprof-gcov-multithread_fork.cpp
RUN: test -f instrprof-gcov-multithread_fork.gcno
RUN: rm -f instrprof-gcov-multithread_fork.gcda
RUN: %run %t
RUN: llvm-cov gcov instrprof-gcov-multithread_fork.gcda