summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2017-08-02 23:22:50 +0000
committerEli Friedman <efriedma@codeaurora.org>2017-08-02 23:22:50 +0000
commit7f53fbfcdc27d8532d5636a8d8fc7f012a0e782d (patch)
tree894ff4636715df403b5695f2459e6bcedda21c10 /llvm/tools/llvm-cov/CodeCoverage.cpp
parent8d2cbf2e9b788a544f7e46b200a1be403effc708 (diff)
downloadbcm5719-llvm-7f53fbfcdc27d8532d5636a8d8fc7f012a0e782d.tar.gz
bcm5719-llvm-7f53fbfcdc27d8532d5636a8d8fc7f012a0e782d.zip
[coverage] Make smaller regions for the first case of a switch.
We never overwrite the end location of a region, so we would end up with an overly large region when we reused the switch's region. It's possible this code will be substantially rewritten in the near future to deal with fallthrough more accurately, but this seems like an improvement on its own for now. Differential Revision: https://reviews.llvm.org/D34801 llvm-svn: 309901
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud