summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbdata
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-03-21 18:55:39 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-03-21 18:55:39 +0000
commit9c1e310c16659deb3984df16376263471a129400 (patch)
treeba221a00d452e66ce5f7692587f8e9801b797d00 /lldb/packages/Python/lldbsuite/test/python_api/sbdata
parented44af6c61709cce5eb0144aea2f1053c8e4bca9 (diff)
downloadbcm5719-llvm-9c1e310c16659deb3984df16376263471a129400.tar.gz
bcm5719-llvm-9c1e310c16659deb3984df16376263471a129400.zip
Fix array sizes where address space is not yet known
For variables in generic address spaces, for example: ``` unsigned char V[6442450944]; ... ``` the address space is not yet known when we get into *getConstantArrayType*, it is 0. AMDGCN target's address space 0 has 32 bits pointers, so when we call *getPointerWidth* with 0, the array size is trimmed to 32 bits, which is not right. Differential Revision: https://reviews.llvm.org/D30845 llvm-svn: 298420
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbdata')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud