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 Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
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: Use a stable sort when reading coverage regions 2015-02-04 00:12:18 +00:00
InstrProf.cpp InstrProf: Give coverage its own errors instead of piggy backing on instrprof 2015-05-06 23:19:35 +00:00
InstrProfIndexed.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
InstrProfReader.cpp InstrProf: Allow hexadecimal function hashes in proftext format 2015-03-09 18:54:49 +00:00
InstrProfWriter.cpp Re-apply "InstrProf: Add unit tests for the profile reader and writer" 2015-02-18 01:58:17 +00:00
LLVMBuild.txt LLVMProfileData: Update LLVMBuild.txt corresponding to r217437. 2014-09-09 15:00:13 +00:00
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