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 Add profile writing capabilities for sampling profiles. 2014-10-30 18:00:06 +00:00
CoverageMapping.cpp llvm-cov: Only combine segments if they overlap exactly 2015-01-24 20:58:52 +00:00
CoverageMappingReader.cpp [Object] Modify OwningBinary's interface to separate inspection from ownership. 2014-10-31 21:37:49 +00:00
CoverageMappingWriter.cpp InstrProf: Simplify counting a file's regions when writing coverage (NFC) 2014-10-02 00:31:00 +00:00
InstrProf.cpp
InstrProfIndexed.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
InstrProfReader.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
InstrProfWriter.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
LLVMBuild.txt
Makefile
SampleProf.cpp Add show and merge tools for sample PGO profiles. 2014-11-01 00:56:55 +00:00
SampleProfReader.cpp Use ErrorOr for the ::create factory on instrumented and sample profilers. 2014-11-03 00:51:45 +00:00
SampleProfWriter.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00