[PATCH] D23987: [Coverage] Suppress creating a code region if the same area is covered by an expansion region.

Igor Kudrin via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 09:12:12 PDT 2016


ikudrin updated this revision to Diff 69709.
ikudrin added a comment.

- Removed a default value in `emitSourceRegions()`, added the corresponding argument to its call in `EmptyCoverageMappingBuilder::write()`.
- Removed an additional sorting step in `CounterCoverageMappingBuilder::write()`, the patch is now depends on the extended sorting creteria in `CoverageMappingWriter::write()`, see https://reviews.llvm.org/D24034.


https://reviews.llvm.org/D23987

Files:
  lib/CodeGen/CoverageMappingGen.cpp
  test/CoverageMapping/macroception.c
  test/CoverageMapping/macros.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23987.69709.patch
Type: text/x-patch
Size: 5780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160830/16428222/attachment.bin>


More information about the cfe-commits mailing list