commit | 5ee1f22ae333b4a88deb46734d71bd6c3462de8c | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Jan 27 19:05:08 2016 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Jan 27 19:05:08 2016 +0000 |
tree | b0aa8a477c9f10b23fcd890cb3bf4fe7ba5b64f4 | |
parent | 5e3603a240a01905cf1f7e0e1cb6cb2eab67819c [diff] |
Add support for objc_unsafeClaimAutoreleasedReturnValue to the ObjC ARC Optimizer. The main implication of this is: 1. Ensuring that we treat it conservatively in terms of optimization. 2. We put the ASM marker on it so that the runtime can recognize objc_unsafeClaimAutoreleasedReturnValue from releaseRV. <rdar://problem/21567064> Patch by Michael Gottesman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258970 91177308-0d34-0410-b5e6-96231b3b80d8