llvm-project/llvm/lib/ProfileData
Igor Kudrin 1c14dc4c5a Reapply "[Coverage] Prevent detection of false instantiations in case of macro expansion."
The root of the problem was that findMainViewFileID(File, Function)
could return some ID for any given file, even though that file
was not the main file for that function.

This patch ensures that the result of this function is conformed
with the result of findMainViewFileID(Function).

This commit reapplies r266436, which was reverted by r266458,
with the .covmapping file serialized in v1 format.

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

llvm-svn: 266620
2016-04-18 15:36:30 +00:00
..
CMakeLists.txt Refactor profile summary support code. NFC. 2016-02-04 23:34:31 +00:00
CoverageMapping.cpp Reapply "[Coverage] Prevent detection of false instantiations in case of macro expansion." 2016-04-18 15:36:30 +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] Do not attach VP metadata if value count at site is 0 [NFC] 2016-04-14 16:25:45 +00:00
InstrProfReader.cpp [PGO] Comment how function pointers for indirect calls are mapped to function names 2016-03-28 18:27:44 +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