llvm-project/llvm/lib/ProfileData
Igor Kudrin ed99a96f06 [Coverage] Restore the correct count value after processing a nested region in case of combined regions.
If several regions cover the same area of code, we have to restore
the combined value for that area when return from a nested region.

This patch achieves that by combining regions before calling buildSegments.

Differential Revision: http://reviews.llvm.org/D18610

llvm-svn: 267390
2016-04-25 09:43:37 +00:00
..
CMakeLists.txt Refactor profile summary support code. NFC. 2016-02-04 23:34:31 +00:00
CoverageMapping.cpp [Coverage] Restore the correct count value after processing a nested region in case of combined regions. 2016-04-25 09:43:37 +00:00
CoverageMappingReader.cpp Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message 2016-04-06 22:14:09 +00:00
CoverageMappingWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstrProf.cpp [PGO] change the interface for createPGOFuncNameMetadata() 2016-04-22 21:00:17 +00:00
InstrProfReader.cpp [ProfileData] Report errors from InstrProfSymtab::create 2016-04-21 21:07:25 +00:00
InstrProfWriter.cpp Add profile summary support for sample profile. 2016-02-19 03:15:33 +00:00
LLVMBuild.txt LLVMProfileData: Update LLVMBuild.txt corresponding to r217437. 2014-09-09 15:00:13 +00:00
ProfileSummary.cpp Revert "Replace the use of MaxFunctionCount module flag" 2016-04-18 15:31:11 +00:00
SampleProf.cpp Use LineLocation instead of CallsiteLocation to index callsite profile. 2016-03-03 18:09:32 +00:00
SampleProfReader.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
SampleProfWriter.cpp Sample profile summary cleanup 2016-03-28 23:14:29 +00:00