llvm-cov: Fix an issue with showing regions but not counts
authorJustin Bogner <mail@justinbogner.com>
Mon, 15 Sep 2014 22:12:28 +0000 (22:12 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 15 Sep 2014 22:12:28 +0000 (22:12 +0000)
commit47a75481e260d6f0381d2240356473d0a77d78b6
tree8fd495d8d8e54caa58b9c59e46320a84043752bc
parentd41a46e942f6af11d74098fb7b951c0df00b7e0a
llvm-cov: Fix an issue with showing regions but not counts

In r217746, though it was supposed to be NFC, I broke llvm-cov's
handling of showing regions without showing counts. This should've
shown up in the existing tests, except they were checking debug output
that was displayed regardless of what was actually output. I've moved
the relevant debug output to a more appropriate place so that the
tests catch this kind of thing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217835 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-cov/showRegionMarkers.cpp
tools/llvm-cov/SourceCoverageView.cpp
tools/llvm-cov/SourceCoverageView.h