Summarization of LLVM-Cov and Multiple files

Ruskiewicz, Joseph via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 17:30:45 PST 2015


Hello all,
	I had a situation recently where I wanted to have llvm-cov report only one report for multiple files.  If we pass in no source files, we get a nice summary report of the project and if we pass in files we get separate reports for each file (functional coverage).  I have created a patch that allows the user to pass in a flag -summarize that allows the user to pass in multiple files, but gets the summary of the current report for no source files.

	Please see attached.  It was really unclear how to get a test to dance on this one, so I am sure that I will get some feedback! ;)

Thanks for the amazing runtime and compiler!
Joseph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summarization.patch
Type: application/octet-stream
Size: 4638 bytes
Desc: summarization.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151224/c7c68820/attachment.obj>


More information about the llvm-commits mailing list