Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CodeGen][ObjC] Don't try to retain a __unsafe_unretained ARC pointer
passed to __builtin_os_log_format to extend its lifetime to the end of its enclosing block Extend only lifetimes of pointers returned by function calls or message sends instead. In the long term, we should lifetime-extend pointers in more complex expressions and non-ARC objects (e.g., C++ temporaries) too. rdar://problem/61846261
- Loading branch information
Showing
2 changed files
with
94 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters