summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2013-10-22 17:43:47 +0000
committerBob Wilson <bob.wilson@apple.com>2013-10-22 17:43:47 +0000
commit51ec77d880ce53cbc8a48168185edc085df9b6d9 (patch)
treecd8ac30429d51373df6f95a0ce78a3570961972b /unittests
parent135fe6ac5f5b80ef68c19b3ec7bb0063e28f2bab (diff)
downloadllvm-51ec77d880ce53cbc8a48168185edc085df9b6d9.tar.gz
llvm-51ec77d880ce53cbc8a48168185edc085df9b6d9.tar.bz2
llvm-51ec77d880ce53cbc8a48168185edc085df9b6d9.tar.xz
Fix llvm-cov counts to be 64-bit integers to avoid overflows.
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. Patch by Yuchen Wu! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions