diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2016-03-14 19:07:10 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-03-14 19:07:10 +0000 |
commit | 4e6a54002403fcbfb04ef15c01c2d73c2870f09f (patch) | |
tree | 998420548162acef5fc4fb6d5230a742ce758166 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 3e271af415abaed8d988990dd49b55eb6a95c81b (diff) | |
download | bcm5719-llvm-4e6a54002403fcbfb04ef15c01c2d73c2870f09f.tar.gz bcm5719-llvm-4e6a54002403fcbfb04ef15c01c2d73c2870f09f.zip |
CodeGen: Use 32-bit gep offsets to address vtable address points.
The relative vtable ABI will use a struct rather than an array as the type
of a vtable. LLVM only allows 32-bit integers as struct indices, so we need
to use 32-bit integers to get addresses of address points. In order to keep
the code simple, we might as well do that unconditionally.
It's probably a reasonable implementation limit to support no more than 2
billion virtual functions per class.
This change causes quite a bit of churn in the test suite, so I'm making
it separately.
Differential Revision: http://reviews.llvm.org/D18113
llvm-svn: 263469
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions