Skip to content
Commit dc4e25d4 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[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
parent f03b6e78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment