[all-commits] [llvm/llvm-project] a0a670: Call objc_retainBlock before passing a block as a ...
ahatanaka via All-commits
all-commits at lists.llvm.org
Fri Dec 13 13:11:12 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a0a670614a36f1686c5086033bef85800128cf66
https://github.com/llvm/llvm-project/commit/a0a670614a36f1686c5086033bef85800128cf66
Author: Akira Hatanaka <ahatanaka at apple.com>
Date: 2019-12-13 (Fri, 13 Dec 2019)
Changed paths:
M clang/docs/AutomaticReferenceCounting.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/CodeGenObjC/arc-blocks.m
Log Message:
-----------
Call objc_retainBlock before passing a block as a variadic argument
Copy the block to the heap before passing it to the callee in case the
block escapes in the callee.
rdar://problem/55683462
Differential Revision: https://reviews.llvm.org/D71431
More information about the All-commits
mailing list