summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/LLVMContextImpl.h
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-11-18 00:34:46 +0000
committerJustin Bogner <mail@justinbogner.com>2014-11-18 00:34:46 +0000
commit94d384e4231e5e1e511873e421fdb63b175d64f0 (patch)
tree33398976dd304efd972416bb6cf241676c1e78ca /llvm/lib/IR/LLVMContextImpl.h
parenta64bd44fd8269bdd246fb21a7ca645e957bc9501 (diff)
downloadbcm5719-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/IR/LLVMContextImpl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud