Check whether functions have any lines associated before emitting coverage info for...
authorNick Lewycky <nicholas@mxc.ca>
Fri, 18 Apr 2014 23:32:28 +0000 (23:32 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 18 Apr 2014 23:32:28 +0000 (23:32 +0000)
commit6b2b2043c9063a9d80a7c3769d923b83ba521d1e
tree2a86da17b6ba962d3bee8ea50a7c2be19398534e
parentaae82fb2f7617fb969180b759b43c636104d1670
Check whether functions have any lines associated before emitting coverage info for them. This isn't just a size/time saving, gcov may crash on these.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206671 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp