diff options
| author | Richard Trieu <rtrieu@google.com> | 2013-05-14 21:59:17 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2013-05-14 21:59:17 +0000 |
| commit | 910f17e331221cd0833d0b5b49013cbbc7ef122a (patch) | |
| tree | c92ef3acd6ef3e0cafb90f856a3de6c0ef96bb09 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | e7e94c907cf6924929e81083e93628d0f520c734 (diff) | |
| download | clang-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
