forked from OSchip/llvm-project
63182c2ac0
gcov is an "Edge Profiling with Edge Counters" application according to Optimally Profiling and Tracing Programs (1994). The minimum number of counters necessary is |E|-(|V|-1). The unmeasured edges form a spanning tree. Both GCC --coverage and clang -fprofile-generate leverage this optimization. This patch implements the optimization for clang --coverage. The produced .gcda files are much smaller now. |
||
---|---|---|
.. | ||
Inputs | ||
gcov-destructor.c | ||
gcov-dlopen.c | ||
gcov-execlp.c | ||
gcov-fork.c | ||
gcov-shared-flush.c | ||
instrprof-dlopen.test | ||
instrprof-dynamic-one-shared.test | ||
instrprof-dynamic-two-shared.test | ||
instrprof-gcov-parallel.test | ||
instrprof-get-filename-merge-mode.c | ||
instrprof-shared.test | ||
instrprof-value-prof-shared.test | ||
instrprof-visibility-kinds.inc | ||
instrprof-visibility.cpp | ||
lit.local.cfg.py |