aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-05-14 21:59:17 +0000
committerRichard Trieu <rtrieu@google.com>2013-05-14 21:59:17 +0000
commit04d2d94762e48d853768a724c93dca3e50428d21 (patch)
tree74fe212221b22245dc87fac9b556efb2bfd6fed1 /llvm/examples/ExceptionDemo/ExceptionDemo.cpp
parentb3c52fb45b648ae21780fa8b9d23caeece32edd8 (diff)
downloadllvm-04d2d94762e48d853768a724c93dca3e50428d21.zip
llvm-04d2d94762e48d853768a724c93dca3e50428d21.tar.gz
llvm-04d2d94762e48d853768a724c93dca3e50428d21.tar.bz2
When computing the size of large arrays, use char units instead of bits.
This prevents an overflow and assertion when the number of bits cannot be stored in 64-bits. llvm-svn: 181839
Diffstat (limited to 'llvm/examples/ExceptionDemo/ExceptionDemo.cpp')
0 files changed, 0 insertions, 0 deletions