Go to file
Vedant Kumar 51d8f887db [llvm-cov] Avoid over-counting covered lines and regions
* Fix an unsigned integer overflow in the logic that computes the
  number of uncovered lines in a function.

* When aggregating region and line coverage summaries, take into account
  that different instantiations may have a different number of regions.

The new test case provides test coverage for both bugs. I also verified
this change by preparing a coverage report for a stage2 build of llc --
the new assertions should detect any outstanding over-counting bugs.

Fixes PR34613.

llvm-svn: 313417
2017-09-15 23:00:02 +00:00
clang Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
clang-tools-extra Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
compiler-rt [libFuzzer] test fix 2017-09-15 22:29:20 +00:00
debuginfo-tests [debuginfo-tests] Add string NRVO test for PR34513 2017-09-15 21:59:39 +00:00
libclc Add native_recip(x) as ((1)/(x)) 2017-09-13 01:40:25 +00:00
libcxx [libc++] Account for Microsoft CRT const overloads 2017-09-15 18:49:34 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind Revert r312240 2017-08-31 15:51:23 +00:00
lld Revert r303378: Set IMAGE_DLL_CHARACTERISTICS_NO_BIND. 2017-09-15 22:49:13 +00:00
lldb Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [llvm-cov] Avoid over-counting covered lines and regions 2017-09-15 23:00:02 +00:00
openmp Read blocktime value set by kmp_set_blocktime() before reading from KMP_BLOCKTIME 2017-09-05 15:45:48 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00