[PATCH] D13525: [CodeGen] Attach function attributes to functions created in CGBlocks.cpp.

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 7 11:35:09 PDT 2015


ahatanak created this revision.
ahatanak added reviewers: dexonsmith, echristo.
ahatanak added a subscriber: cfe-commits.

This patch makes changes to attach function attributes to the following functions created in CGBlocks.cpp:

__copy_helper_block_
__destroy_helper_block_
__Block_byref_object_copy_
__Block_byref_object_dispose_

There are other places in clang where function attributes are not attached to functions. I plan to follow up with patches that fix those places too.

http://reviews.llvm.org/D13525

Files:
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/TargetInfo.cpp
  test/CodeGenObjC/arc-blocks.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13525.36773.patch
Type: text/x-patch
Size: 15808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151007/6f0cfe1d/attachment-0001.bin>


More information about the cfe-commits mailing list