[PATCH] D18831: [Coverage] Combine counts of expansion region if there are no code regions for the same area.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 08:57:09 PDT 2016


ikudrin retitled this revision from "[Coverage] Use the count value of the outer region for an expansion region." to "[Coverage] Combine counts of expansion region if there are no code regions for the same area.".
ikudrin updated the summary for this revision.
ikudrin updated this revision to Diff 55606.
ikudrin added a comment.

- To fully fix the original issue, http://reviews.llvm.org/D19725 is required.
- Simplified the logic of combining regions.
- Improved comments.
- Reworked test cases to check only the issue with combining expansions.


http://reviews.llvm.org/D18831

Files:
  lib/ProfileData/CoverageMapping.cpp
  test/tools/llvm-cov/Inputs/combine_expansions.covmapping
  test/tools/llvm-cov/Inputs/combine_expansions.proftext
  test/tools/llvm-cov/combine_expansions.cpp
  unittests/ProfileData/CoverageMappingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18831.55606.patch
Type: text/x-patch
Size: 6473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/1d63c887/attachment.bin>


More information about the llvm-commits mailing list