llvm-6502/lib/ProfileData
Justin Bogner 65a5e71298 llvm-cov: Only combine segments if they overlap exactly
If two coverage segments cover the same area we need to combine them,
as per r218432. OTOH, just because they start at the same place
doesn't mean they cover the same area. This fixes the check to be more
exact about this.

This is pretty hard to test right now. The frontend doesn't currently
emit regions that start at the same place but don't overlap, but some
upcoming work changes this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227017 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-24 20:58:52 +00:00
..
CMakeLists.txt
CoverageMapping.cpp llvm-cov: Only combine segments if they overlap exactly 2015-01-24 20:58:52 +00:00
CoverageMappingReader.cpp
CoverageMappingWriter.cpp
InstrProf.cpp
InstrProfIndexed.h
InstrProfReader.cpp
InstrProfWriter.cpp
LLVMBuild.txt
Makefile
SampleProf.cpp
SampleProfReader.cpp
SampleProfWriter.cpp