diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-11-18 00:34:46 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-11-18 00:34:46 +0000 |
commit | 94d384e4231e5e1e511873e421fdb63b175d64f0 (patch) | |
tree | 33398976dd304efd972416bb6cf241676c1e78ca /llvm/lib | |
parent | a64bd44fd8269bdd246fb21a7ca645e957bc9501 (diff) | |
download | bcm5719-llvm-94d384e4231e5e1e511873e421fdb63b175d64f0.tar.gz bcm5719-llvm-94d384e4231e5e1e511873e421fdb63b175d64f0.zip |
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
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions