forked from OSchip/llvm-project
0b1fe47e22
Summary: The goal of this patch is to have the same behaviour than gcc-gcov. Currently the hit counts for a line is the sum of the counts for each block on that line. The idea is to detect the cycles in the graph of blocks in using the algorithm by Hawick & James. The count for a cycle is the min of the counts for each edge in the cycle. Once we've the count for each cycle, we can sum them and add the transition counts of those cycles. Fix both https://bugs.llvm.org/show_bug.cgi?id=38065 and https://bugs.llvm.org/show_bug.cgi?id=38066 Reviewers: marco-c, davidxl Reviewed By: marco-c Subscribers: vsk, lebedev.ri, sylvestre.ledru, dblaikie, llvm-commits Differential Revision: https://reviews.llvm.org/D49659 llvm-svn: 342657 |
||
---|---|---|
.. | ||
Inputs | ||
binary-formats.c | ||
combine_expansions.cpp | ||
copy_block_helper.m | ||
cov-comdat.test | ||
deferred-region.cpp | ||
demangle.test | ||
dir-with-filtering.test | ||
double_dots.c | ||
gcov47_compatibility.cpp | ||
hideUnexecutedSubviews.test | ||
ifdef.c | ||
ignore-filename-regex.test | ||
lit.local.cfg | ||
llvm-cov.test | ||
load-multiple-objects.test | ||
multiple-files.test | ||
multiple-objects.test | ||
multithreaded-report.test | ||
name_whitelist.test | ||
native_separators.c | ||
path_equivalence.c | ||
prefer_used_to_unused.h | ||
prevent_false_instantiations.h | ||
range_based_for.cpp | ||
report.cpp | ||
scan-directory.test | ||
showExpansions.cpp | ||
showHighlightedRanges.cpp | ||
showLineExecutionCounts.cpp | ||
showProjectSummary.cpp | ||
showRegionMarkers.cpp | ||
showTabsHTML.cpp | ||
showTemplateInstantiations.cpp | ||
sources-specified.test | ||
style.test | ||
threads.c | ||
universal-binary.c | ||
warnings.h | ||
zeroFunctionFile.c |