[PATCH] Fixed an overflow bug in llvm-cov

Yuchen Wu yuchenericwu at hotmail.com
Tue Oct 22 10:23:18 PDT 2013


Line counts in llvm-cov are read in as 64-bit integers but were being truncated to 32-bit in collectLineCounts(), which caused overflow for large counts. This patch fixes all counts to be uint64_t.  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131022/7d9b220b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fixed-bug-where-count-was-truncated-from-uint64_t-to.patch
Type: application/octet-stream
Size: 2351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131022/7d9b220b/attachment.obj>


More information about the llvm-commits mailing list