Alex Lorenz a8fbef44fe [CodeGen] Emit a CoreFoundation link guard when @available is used
After r297760, __isOSVersionAtLeast in compiler-rt loads the CoreFoundation
symbols at runtime. This means that `@available` will always fail when used in a
binary without a linked CoreFoundation.

This commit forces Clang to emit a reference to a CoreFoundation symbol when
`@available` is used to ensure that linking will fail when CoreFoundation isn't
linked with the build product.

rdar://31039592

Differential Revision: https://reviews.llvm.org/D30977

llvm-svn: 298588
2017-03-23 11:14:27 +00:00
..
2014-03-29 15:09:45 +00:00
2015-05-15 18:33:32 +00:00
2016-12-19 02:55:53 +00:00
2014-02-16 07:28:32 +00:00
2014-11-06 13:30:38 +00:00
2013-12-03 14:46:31 +00:00
2014-03-29 15:09:45 +00:00