summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2019-06-14 22:06:28 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2019-06-14 22:06:28 +0000
commit6cb2d9dbd2d46ee1811f756d4b1f567b8ff36aa9 (patch)
treead9a46f1a38ce64d675f990cccee3f3ffceb15ec /llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
parent05e48cb9fabe58b2704fbca14530c844a9d2243d (diff)
downloadbcm5719-llvm-6cb2d9dbd2d46ee1811f756d4b1f567b8ff36aa9.tar.gz
bcm5719-llvm-6cb2d9dbd2d46ee1811f756d4b1f567b8ff36aa9.zip
[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
Diffstat (limited to 'llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud