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

[CodeGen][ObjC] Annotate retain-agnostic ObjC globals with attribute

'objc_arc_inert'

The attribute enables the ARC optimizer to delete ObjC ARC runtime calls
on the annotated globals (see https://reviews.llvm.org/D62433). We
currently only annotate global variables for string literals and global
blocks with the attribute.

rdar://problem/49839633

Differential Revision: https://reviews.llvm.org/D62831

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