On Mon, May 26, 2008 at 11:27 PM, Gabor Greif <<a href="mailto:gabor@mac.com">gabor@mac.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Heh,<br>
<br>
my ex-boss would die seeing something like this :-)</blockquote><div><br>It's not too hard to produce, let me know if you want details, or ping me on IRC.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Just one comment, does GCOV have a flag for<br>
a third category of lines, like "undesired to execute"?</blockquote><div><br>Nope. I'm a subscriber to the theory that everything should be executed, right down to assertions, and compile assertions. ;] Not always possible, but that is usually my ideal goal in testing. The key is to always check that the result of that execution is correct, so trigger assertions, and catch them, etc. <br>
</div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This would make the summary of<br>
<<a href="http://chandlerc.net/llvm-coverage/lib/Target/PowerPC/" target="_blank">http://chandlerc.net/llvm-coverage/lib/Target/PowerPC/</a><br>
PPCHazardRecognizers.cpp.gcov.html><br>
much more favorable.</blockquote><div><br>I'm not seeing the bad aspect of this particular file? It has pretty good coverage, is code calling into this "bad"? If so, then assertions, or logging or something might be more appropriate. Coverage just says that it got used, not that its use was "correct". ;] <br>
<br>-Chandler<br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nice work!<br>
<br>
Cheers,<br>
<br>
        Gabor<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br>