[PATCH] D50783: [CodeGen] Merge identical block descriptor global variables
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 16 15:57:50 PDT 2018
ahatanak updated this revision to Diff 161137.
ahatanak added a comment.
Try harder to shorten the names of block descriptor global variables.
The strings extracted from the names of the copy and dispose helpers are merged whenever it is possible to do so. The block layout string doesn't include information about `__strong`, `__weak`, or byref captures unless the copy/dispose helpers are missing.
Repository:
rC Clang
https://reviews.llvm.org/D50783
Files:
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGBlocks.h
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CGObjCRuntime.h
test/CodeGenCXX/blocks.cpp
test/CodeGenObjC/arc-blocks.m
test/CodeGenObjC/arc-captured-32bit-block-var-layout-2.m
test/CodeGenObjC/fragile-arc.m
test/CodeGenObjC/noescape.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50783.161137.patch
Type: text/x-patch
Size: 35543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180816/6a4c1a5f/attachment-0001.bin>
More information about the cfe-commits
mailing list