diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2013-10-22 17:43:47 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2013-10-22 17:43:47 +0000 |
| commit | 68bf30a8b42ab56cf2ba54de2caf4bfcabea039d (patch) | |
| tree | ead8ce3749718eb55f7341267024a2fb1150291d /llvm/lib/MC/MCDisassembler.cpp | |
| parent | 28d0f60c484529fe88d25d0ce6f100902f8668d4 (diff) | |
| download | bcm5719-llvm-68bf30a8b42ab56cf2ba54de2caf4bfcabea039d.tar.gz bcm5719-llvm-68bf30a8b42ab56cf2ba54de2caf4bfcabea039d.zip | |
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!
llvm-svn: 193172
Diffstat (limited to 'llvm/lib/MC/MCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions

