summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/default-constructor
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2016-02-01 09:29:17 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2016-02-01 09:29:17 +0000
commitf8d0f18fac7e16984163ccaef3d6d7ad0521c228 (patch)
tree2b6f3f5664069d673db59fa43f89d6be65f7829f /lldb/packages/Python/lldbsuite/test/python_api/default-constructor
parentc2c8ca1ce3de4d9d4013ab6da5d759f59515ec78 (diff)
downloadbcm5719-llvm-f8d0f18fac7e16984163ccaef3d6d7ad0521c228.tar.gz
bcm5719-llvm-f8d0f18fac7e16984163ccaef3d6d7ad0521c228.zip
[analyzer] Use a wider integer type for an array index.
Avoids unexpected overflows while performing pointer arithmetics in 64-bit code. Moreover, neither PointerDiffType nor 'int' can be used as a common array index type because arrays may have size (and indexes) more than PTRDIFF_MAX but less than SIZE_MAX. Patch by Aleksei Sidorin! Differential Revision: http://reviews.llvm.org/D16063 llvm-svn: 259345
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/default-constructor')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud