[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
Mon Aug 29 03:32:14 PDT 2016


ikudrin created this revision.
ikudrin added reviewers: davidxl, bogner, vsk.
ikudrin added a subscriber: cfe-commits.

In many cases, these code regions are just redundant, but sometimes they could be assigned to the counter of the parent code region instead of the counter of the nested block.

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.69549.patch
Type: text/x-patch
Size: 5826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160829/f38996e4/attachment.bin>


More information about the cfe-commits mailing list