llvm-project/clang/test/CoverageMapping
Justin Bogner 94d384e423 InstrProf: Don't emit coverage for uninstantiated templates
We include unused functions and methods in -fcoverage-mapping so that
we can differentiate between uninstrumented and unused. This can cause
problems for uninstantiated templates though, since they may involve
an incomplete type that can't be mangled. This shows up in things like
libc++'s <unordered_map> and makes coverage unusable.

Avoid the issue by skipping uninstantiated methods of a templated
class.

llvm-svn: 222204
2014-11-18 00:34:46 +00:00
..
Inputs Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
break.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
builtinmacro.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
casts.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
classtemplate.cpp InstrProf: Don't emit coverage for uninstantiated templates 2014-11-18 00:34:46 +00:00
continue.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
header.cpp Test: CoverageMapping: use "RUN: FileCheck" command instead of "RUN: cat | Filecheck". 2014-08-20 17:29:47 +00:00
if.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
includehell.cpp InstrProf: Avoid repeated linear searches in a hot path 2014-10-01 03:33:52 +00:00
ir.c Coverage Mapping: store function's hash in coverage function records. 2014-08-21 19:25:27 +00:00
label.cpp Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
logical.cpp Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
loopmacro.c InstrProf: Avoid repeated linear searches in a hot path 2014-10-01 03:33:52 +00:00
loops.cpp Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
macroception.c InstrProf: Avoid repeated linear searches in a hot path 2014-10-01 03:33:52 +00:00
macroparams.c InstrProf: Avoid repeated linear searches in a hot path 2014-10-01 03:33:52 +00:00
macroparams2.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
macros.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
nestedclass.cpp Test: CoverageMapping: use "RUN: FileCheck" command instead of "RUN: cat | Filecheck". 2014-08-20 17:29:47 +00:00
objc.m Coverage mapping: fix mapping for objective-c for statement 2014-08-20 17:11:53 +00:00
preprocessor.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
return.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
switch.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
templates.cpp Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
test.c Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
trycatch.cpp Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00