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

[CodeGen][ObjC] Emit @objc_retain at -O0 for variables captured by

blocks.

r302270 made changes to avoid emitting clang.arc.use at -O0 and instead
emit @objc_release. We also have to emit @objc_retain for the captured
variable at -O0 to match the @objc_release instead of just storing the
pointer to the capture field.

llvm-svn: 302495
parent fe4ed9bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment