summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-10-26 18:23:21 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-10-26 18:23:21 +0000
commit693499cefc75f095a6afae64fcf25137fb309f91 (patch)
treef116def06d830aeb6eb2b3d691d2235106ff0a14 /llvm/lib/Transforms/Instrumentation
parent97aae40880d76765e9fe2c14ccc8734c1f207414 (diff)
downloadbcm5719-llvm-693499cefc75f095a6afae64fcf25137fb309f91.tar.gz
bcm5719-llvm-693499cefc75f095a6afae64fcf25137fb309f91.zip
BitstreamWriter: Fix integer overflow.
We were previously overflowing a 32-bit multiply operation when emitting large (>512MB) bitcode files, resulting in corrupted bitcode. Fix by extending one of the operands to 64 bits. There are a few other 32-bit integer types in this code that seem like they also ought to be extended to 64 bits; this will be done separately. llvm-svn: 251323
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud