summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2019-10-17 18:48:07 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2019-10-17 18:48:07 +0000
commit68db51d5c677239fe5ca286f068909479deb75c7 (patch)
tree4c13ff47bfdeecdf6b317de92ecb7d7e38e2ce8e /lldb/packages/Python/lldbsuite/test/python_api/section
parent31a691e2a2293a9ecb5330f081f2410bc1ff4474 (diff)
downloadbcm5719-llvm-68db51d5c677239fe5ca286f068909479deb75c7.tar.gz
bcm5719-llvm-68db51d5c677239fe5ca286f068909479deb75c7.zip
[Object] Fix the return type of getOffset/getSize
Header64.offset/Header64.size are uint64_t, thus we should not truncate them to unit32_t. Moreover, there are a number of places where we sum the offset and the size (e.g. in various checks in MachOUniversal.cpp), the truncation causes issues since the offset/size can perfectly fit into uint32_t, while the sum overflows. Differential revision: https://reviews.llvm.org/D69126 Test plan: make check-all llvm-svn: 375154
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud