[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 19:36:35 PDT 2018
ahatanak updated this revision to Diff 161155.
ahatanak marked an inline comment as done.
ahatanak added a comment.
Mark the block descriptor global variable as `unnamed_addr`.
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.161155.patch
Type: text/x-patch
Size: 35684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180817/282e9747/attachment-0001.bin>
More information about the cfe-commits
mailing list