diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-01-17 18:18:53 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-01-17 18:18:53 +0000 |
commit | 2ff012df81760f62b655135ab335956c06cbcb22 (patch) | |
tree | 65904ee3c73c496fe9387067a7cbc178f7c12b1b /lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py | |
parent | f3b762a0b6cef251afef8907cb4cf5b35bffb0d8 (diff) | |
download | bcm5719-llvm-2ff012df81760f62b655135ab335956c06cbcb22.tar.gz bcm5719-llvm-2ff012df81760f62b655135ab335956c06cbcb22.zip |
[CodeGenObjC] Use a constant value for non-fragile ivar offsets when possible
If a class inherits from NSObject and has an implementation, then we
can assume that ivar offsets won't need to be updated by the runtime.
This allows us to index into the object using a constant value and
avoid loading from the ivar offset variable.
This patch was adapted from one written by Pete Cooper.
rdar://problem/10132568
Differential revision: https://reviews.llvm.org/D56802
llvm-svn: 351461
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py')
0 files changed, 0 insertions, 0 deletions