summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.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
commit910f17e331221cd0833d0b5b49013cbbc7ef122a (patch)
treec92ef3acd6ef3e0cafb90f856a3de6c0ef96bb09 /lib/CodeGen/CodeGenFunction.cpp
parente7e94c907cf6924929e81083e93628d0f520c734 (diff)
downloadclang-910f17e331221cd0833d0b5b49013cbbc7ef122a.tar.gz
clang-910f17e331221cd0833d0b5b49013cbbc7ef122a.tar.bz2
clang-910f17e331221cd0833d0b5b49013cbbc7ef122a.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions