Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [Coverage] Emit a gap region to cover switch bodies (details)
Commit 859bf4d2bea2404bd2eac92451f2db4371ec6eb4 by Vedant Kumar
[Coverage] Emit a gap region to cover switch bodies
Emit a gap region beginning where the switch body begins. This sets line
execution counts in the areas between non-overlapping cases to 0.
This also removes some special handling of the first case in a switch:
these are now treated like any other case.
This does not resolve an outstanding issue with case statement regions
that do not end when a region is terminated. But it should address
Differential Revision: https://reviews.llvm.org/D70571
The file was modifiedclang/docs/SourceBasedCodeCoverage.rst
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp
The file was modifiedclang/test/CoverageMapping/switchmacro.c
The file was modifiedclang/test/CoverageMapping/switch.cpp