Go to file
Vedant Kumar ad8f637bd8 [Coverage] Use gap regions to select better line exec counts
After clang started emitting deferred regions (r312818), llvm-cov has
had a hard time picking reasonable line execuction counts. There have
been one or two generic improvements in this area (e.g r310012), but
line counts can still report coverage for whitespace instead of code
(llvm.org/PR34612).

To fix the problem:

 * Introduce a new region kind so that frontends can explicitly label
   gap areas.

   This is done by changing the encoding of the columnEnd field of
   MappingRegion. This doesn't substantially increase binary size, and
   makes it easy to maintain backwards-compatibility.

 * Don't set the line count to a count from a gap area, unless the count
   comes from a wrapped segment.

 * Don't highlight gap areas as uncovered.

Fixes llvm.org/PR34612.

llvm-svn: 313597
2017-09-18 23:37:28 +00:00
clang [Docs] Document cache pruning support for gold 2017-09-18 23:24:01 +00:00
clang-tools-extra [clangd] Fix codeAction not decoded properly when sent from some clients 2017-09-18 15:02:59 +00:00
compiler-rt Revert "[ubsan] Split ubsan_init_standalone" 2017-09-18 22:47:36 +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 Fix failing ASAN test 2017-09-18 22:01:18 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind Fix a typo in the documentation. NFC. 2017-09-16 20:52:05 +00:00
lld Rename EhSectionPiece::ID -> EhSectionPiece::Sec. 2017-09-18 23:07:33 +00:00
lldb Revert "Fix for bug 34532 - A few rough corners related to post-mortem debugging (core/minidump)" 2017-09-18 15:59:44 +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 [Coverage] Use gap regions to select better line exec counts 2017-09-18 23:37:28 +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 [ForwardOpTree] Test the max operations quota. 2017-09-18 17:43:50 +00:00