[PATCH] Fixed an overflow bug in llvm-cov

Bob Wilson bob.wilson at apple.com
Tue Oct 22 10:47:22 PDT 2013


Looks good.  Committed in svn r193172

On Oct 22, 2013, at 10:23 AM, Yuchen Wu <yuchenericwu at hotmail.com> wrote:

> 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/a14a38a9/attachment.html>


More information about the llvm-commits mailing list