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
..
2015-07-23 14:45:41 +00:00
2015-10-08 04:24:12 +00:00
2016-05-30 16:36:48 +00:00
2016-07-29 19:15:51 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-06-29 17:29:50 +00:00
2017-02-24 00:09:30 +00:00
2016-12-23 00:23:01 +00:00
2015-09-08 08:05:57 +00:00
2015-09-08 08:05:57 +00:00
2015-09-08 08:05:57 +00:00
2015-09-08 08:05:57 +00:00
2016-04-12 23:10:58 +00:00
2016-02-05 21:37:38 +00:00
2015-10-29 23:36:14 +00:00
2017-02-21 20:36:21 +00:00
2015-11-20 18:29:01 +00:00
2016-12-23 00:23:01 +00:00
2015-08-31 21:48:52 +00:00
2016-12-23 00:23:01 +00:00
2016-12-23 00:23:01 +00:00
2016-12-23 00:23:01 +00:00
2016-12-23 00:23:01 +00:00
2015-11-16 22:11:41 +00:00
2015-07-17 20:09:56 +00:00
2017-02-11 21:34:18 +00:00
2015-09-10 22:27:50 +00:00
2016-04-01 23:23:52 +00:00
2015-06-17 20:53:19 +00:00
2017-03-23 11:14:27 +00:00
2017-02-23 21:08:08 +00:00
2016-10-20 00:13:19 +00:00
2017-02-01 17:37:28 +00:00
2015-10-21 18:06:47 +00:00
2015-06-17 20:53:19 +00:00
2015-10-08 04:24:12 +00:00
2015-10-22 18:38:17 +00:00
2016-09-18 16:12:14 +00:00
2015-11-19 05:55:59 +00:00
2015-10-08 04:24:12 +00:00
2016-09-18 16:12:14 +00:00
2016-05-30 16:36:48 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2016-10-20 00:13:19 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2016-10-20 00:13:19 +00:00
2015-10-08 04:24:12 +00:00
2016-10-20 00:13:19 +00:00
2016-10-20 00:13:19 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2016-06-16 00:42:36 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-12-04 19:14:14 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2016-04-15 15:55:45 +00:00
2015-10-08 04:24:12 +00:00
2016-07-17 22:27:44 +00:00
2016-09-18 16:12:14 +00:00
2016-09-18 16:12:14 +00:00
2017-01-31 02:31:39 +00:00
2016-02-16 00:46:03 +00:00
2016-09-15 06:31:30 +00:00
2016-09-18 16:12:14 +00:00
2016-12-23 01:24:49 +00:00
2016-07-17 22:54:42 +00:00
2015-09-08 08:05:57 +00:00
2015-09-08 08:05:57 +00:00
2016-09-18 16:12:14 +00:00
2017-03-14 04:00:52 +00:00
2015-10-08 04:24:12 +00:00
2015-08-19 20:49:38 +00:00
2016-11-16 07:07:28 +00:00
2016-04-20 01:02:18 +00:00
2016-02-16 00:46:03 +00:00
2016-04-19 19:05:03 +00:00
2016-11-30 02:39:18 +00:00
2016-09-18 16:12:14 +00:00
2015-11-19 02:28:03 +00:00
2015-10-22 18:38:17 +00:00
2016-12-23 00:23:01 +00:00
2016-12-23 00:23:01 +00:00
2016-12-23 00:23:01 +00:00
2016-12-23 00:23:01 +00:00
2016-12-19 02:55:53 +00:00
2015-06-29 17:29:50 +00:00
2016-01-29 23:46:55 +00:00
2015-10-08 04:24:12 +00:00
2016-09-18 16:12:14 +00:00
2015-10-08 04:24:12 +00:00
2016-12-23 01:24:49 +00:00
2015-11-18 14:40:41 +00:00
2016-10-24 20:39:34 +00:00
2015-10-02 01:05:29 +00:00
2016-05-26 00:37:30 +00:00
2015-10-08 04:24:12 +00:00
2016-09-18 16:12:14 +00:00
2016-10-25 14:50:44 +00:00
2015-06-29 17:29:50 +00:00
2016-09-18 16:12:14 +00:00
2016-10-13 20:10:22 +00:00
2016-10-25 21:43:28 +00:00
2015-09-08 08:05:57 +00:00
2015-11-19 05:55:59 +00:00
2016-07-29 19:15:51 +00:00
2015-06-17 20:53:19 +00:00
2016-10-04 20:36:04 +00:00
2017-03-09 16:06:27 +00:00
2017-03-14 01:56:34 +00:00
2017-03-06 05:28:22 +00:00
2017-03-14 16:48:29 +00:00
2016-10-03 15:29:22 +00:00