llvm-6502/tools/llvm-cov
Justin Bogner 90c4e8b70c InstrProf: Teach llvm-cov to show the max count instead of the last
When multiple regions start on the same line, llvm-cov was just
showing the count of the last one as the line count. This can be
confusing and misleading for things like one-liner loops, where the
count at the end isn't very interesting, or even "if" statements with
an opening brace at the end of the line.

Instead, use the maximum of all of the region start counts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230263 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-23 21:21:34 +00:00
..
CMakeLists.txt
CodeCoverage.cpp
CoverageFilters.cpp
CoverageFilters.h
CoverageReport.cpp
CoverageReport.h
CoverageSummaryInfo.cpp
CoverageSummaryInfo.h
CoverageViewOptions.h
gcov.cpp
llvm-cov.cpp
LLVMBuild.txt
Makefile
RenderingSupport.h
SourceCoverageView.cpp
SourceCoverageView.h
TestingSupport.cpp