llvm/test/tools/llvm-cov
Igor Kudrin 66a92f3b19 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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266620 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-18 15:36:30 +00:00
..
Inputs Reapply "[Coverage] Prevent detection of false instantiations in case of macro expansion." 2016-04-18 15:36:30 +00:00
binary-formats.c llvm-cov: Only emit colour by default if the output is a tty 2015-03-19 00:02:23 +00:00
copy_block_helper.m llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
cov-comdat.test [Coverage] add covmap v2 binary format regression test 2016-02-10 20:14:04 +00:00
gcov47_compatibility.cpp llvm-cov: Fix reading gcov data that does not have function names 2016-02-08 22:49:40 +00:00
lit.local.cfg Reapply "[Coverage] Prevent detection of false instantiations in case of macro expansion." 2016-04-18 15:36:30 +00:00
llvm-cov.test llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
prevent_false_instantiations.h Reapply "[Coverage] Prevent detection of false instantiations in case of macro expansion." 2016-04-18 15:36:30 +00:00
range_based_for.cpp llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
report.cpp llvm-cov: Only emit colour by default if the output is a tty 2015-03-19 00:02:23 +00:00
showExpansions.cpp InstrProf: Remove xfails for big-endian from coverage tests 2015-03-16 07:29:49 +00:00
showHighlightedRanges.cpp InstrProf: Remove xfails for big-endian from coverage tests 2015-03-16 07:29:49 +00:00
showLineExecutionCounts.cpp InstrProf: Fix display of large numbers in llvm-cov 2015-05-13 22:41:48 +00:00
showRegionMarkers.cpp InstrProf: Fix display of large numbers in llvm-cov 2015-05-13 22:41:48 +00:00
showTemplateInstantiations.cpp llvm-cov: Only emit colour by default if the output is a tty 2015-03-19 00:02:23 +00:00
universal-binary.c llvm-cov: Only emit colour by default if the output is a tty 2015-03-19 00:02:23 +00:00