summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2016-01-27 18:32:30 +0000
committerJohn McCall <rjmccall@apple.com>2016-01-27 18:32:30 +0000
commite399e5bd3d4498280239fae73695bbde414fb652 (patch)
tree433d1d93b5317f6e95d7ee723b35a2c90829705d /lldb/packages/Python/lldbsuite/test/lldbtest.py
parent14bf877e6bce2e079642966769d533c42c273af4 (diff)
downloadbcm5719-llvm-e399e5bd3d4498280239fae73695bbde414fb652.tar.gz
bcm5719-llvm-e399e5bd3d4498280239fae73695bbde414fb652.zip
Emit calls to objc_unsafeClaimAutoreleasedReturnValue when
reclaiming a call result in order to ignore it or assign it to an __unsafe_unretained variable. This avoids adding an unwanted retain/release pair when the return value is not actually returned autoreleased (e.g. when it is returned from a nonatomic getter or a typical collection accessor). This runtime function is only available on the latest Apple OS releases; the backwards-compatibility story is that you don't get the optimization unless your deployment target is recent enough. Sorry. rdar://20530049 llvm-svn: 258962
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud