[PATCH] D30977: [CodeGen] Emit a CoreFoundation link guard when @available is used

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 16 01:34:00 PDT 2017


arphaman updated this revision to Diff 91977.
arphaman marked an inline comment as done.
arphaman added a comment.

The guard function is now `hidden`. I also adopted linker options as John suggested.


Repository:
  rL LLVM

https://reviews.llvm.org/D30977

Files:
  lib/CodeGen/CGObjC.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  test/CodeGenObjC/availability-cf-link-guard.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30977.91977.patch
Type: text/x-patch
Size: 5001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170316/07e6bfac/attachment-0001.bin>


More information about the cfe-commits mailing list