llvm/lib/ProfileData
Justin Bogner 42ab8c0a90 InstrProf: Treat functions with a coverage map but no profile as unreached
If we have a coverage mapping but no profile data for a function,
calling it mismatched is misleading. This can just as easily be
unreachable code that was stripped from the binary. Instead, treat
these the same as functions where we have an explicit "zero" coverage
map by setting the count to zero for each mapped region.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237298 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-13 22:03:04 +00:00
..
CMakeLists.txt
CoverageMapping.cpp InstrProf: Treat functions with a coverage map but no profile as unreached 2015-05-13 22:03:04 +00:00
CoverageMappingReader.cpp InstrProf: Simplify looking up sections for coverage data 2015-05-07 00:31:58 +00:00
CoverageMappingWriter.cpp
InstrProf.cpp InstrProf: Give coverage its own errors instead of piggy backing on instrprof 2015-05-06 23:19:35 +00:00
InstrProfIndexed.h
InstrProfReader.cpp
InstrProfWriter.cpp
LLVMBuild.txt
Makefile
SampleProf.cpp
SampleProfReader.cpp
SampleProfWriter.cpp