Nico Weber
9b3baaa74a
darwin: Unconditionally pass -lto_library, remove -Wliblto warning.
...
https://reviews.llvm.org/D25932 made it so that clang always checks if
libLTO.dylib is present on disk, even if -flto is not being used. The
motivation for that change was that if a dependency happens to contain bitcode,
ld64 will try to load libLTO without -flto explicitly being enabled. However,
the change had the undesirable side effect of warning if libLTO.dylib doesn't
exist even if it isn't needed.
Change things so that -lto_library is always passes, independent of if it
exists or not. ld64 only looks at this flag if it uses LTO. If the dylib
exists, all is well. If it doesn't, and LTO is not being used, all is well too.
If ld64 does end up using LTO and the dylib does not exist, ld64 will print
something like
ld: could not process llvm bitcode object file, because foo/libLTO.dylib could not be loaded file 'test.o' for architecture x86_64
https://reviews.llvm.org/D26984
llvm-svn: 287685
2016-11-22 19:38:07 +00:00
..
2016-11-18 00:41:22 +00:00
2016-11-21 03:24:59 +00:00
2016-11-15 21:34:31 +00:00
2015-11-13 23:07:31 +00:00
2016-06-03 14:08:20 +00:00
2016-05-26 19:36:39 +00:00
2016-05-31 22:47:11 +00:00
2016-10-25 21:44:35 +00:00
2016-07-19 07:09:48 +00:00
2016-07-19 07:09:48 +00:00
2015-10-30 16:30:27 +00:00
2016-01-12 23:47:59 +00:00
2016-04-02 05:29:00 +00:00
2016-01-27 22:14:02 +00:00
2016-06-24 21:35:06 +00:00
2016-03-03 13:52:22 +00:00
2016-08-31 19:27:07 +00:00
2016-10-12 12:13:55 +00:00
2016-03-03 13:52:22 +00:00
2015-07-21 01:41:08 +00:00
2015-08-26 19:00:11 +00:00
2015-10-28 10:10:03 +00:00
2016-07-27 08:54:13 +00:00
2015-07-07 06:42:05 +00:00
2016-06-24 21:35:06 +00:00
2015-12-11 06:20:59 +00:00
2016-01-06 07:42:18 +00:00
2016-06-03 14:08:20 +00:00
2016-01-12 19:40:55 +00:00
2015-10-13 16:22:51 +00:00
2016-04-19 20:31:19 +00:00
2015-07-22 15:32:36 +00:00
2015-06-19 12:19:07 +00:00
2016-04-26 20:40:23 +00:00
2016-04-25 21:15:49 +00:00
2016-04-25 21:15:49 +00:00
2016-04-26 13:54:29 +00:00
2016-04-26 13:54:29 +00:00
2015-11-16 14:05:48 +00:00
2015-06-23 20:42:09 +00:00
2016-03-14 14:34:10 +00:00
2016-02-29 01:40:30 +00:00
2016-11-09 00:56:42 +00:00
2015-07-15 19:42:18 +00:00
2015-07-15 20:04:18 +00:00
2016-10-04 21:01:00 +00:00
2016-10-04 21:00:57 +00:00
2016-10-04 21:01:04 +00:00
2016-08-02 13:53:00 +00:00
2016-08-02 13:53:00 +00:00
2016-08-02 13:53:00 +00:00
2016-10-20 17:41:08 +00:00
2016-08-30 19:06:26 +00:00
2015-07-29 18:39:14 +00:00
2016-04-28 17:09:37 +00:00
2015-07-15 20:04:18 +00:00
2015-07-15 20:04:18 +00:00
2015-07-15 19:42:18 +00:00
2016-10-11 22:09:13 +00:00
2015-02-06 13:02:39 +00:00
2016-10-17 19:36:18 +00:00
2016-10-11 16:06:32 +00:00
2016-08-24 15:39:07 +00:00
2016-05-18 12:46:06 +00:00
2016-08-11 20:03:22 +00:00
2016-08-11 20:03:22 +00:00
2016-10-02 03:31:58 +00:00
2016-10-02 03:31:58 +00:00
2016-08-31 23:04:32 +00:00
2015-03-25 20:17:20 +00:00
2016-11-17 21:41:22 +00:00
2015-07-26 04:59:52 +00:00
2015-12-02 03:13:50 +00:00
2015-08-05 23:49:44 +00:00
2016-01-14 21:41:27 +00:00
2016-08-02 22:37:47 +00:00
2016-10-27 18:14:55 +00:00
2016-01-25 22:52:31 +00:00
2016-11-18 00:41:22 +00:00
2016-11-18 00:41:22 +00:00
2016-11-18 00:41:22 +00:00
2016-06-16 13:27:02 +00:00
2016-09-15 23:44:13 +00:00
2016-04-19 18:52:28 +00:00
2016-04-19 02:27:07 +00:00
2016-10-27 01:08:58 +00:00
2016-09-30 15:34:19 +00:00
2016-08-02 23:43:04 +00:00
2016-04-19 02:27:07 +00:00
2016-07-27 22:46:31 +00:00
2016-09-13 01:13:19 +00:00
2015-06-23 20:42:09 +00:00
2016-04-13 17:08:51 +00:00
2016-03-14 14:34:10 +00:00
2016-10-21 01:49:14 +00:00
2016-11-22 19:38:07 +00:00
2016-11-22 07:35:19 +00:00
2016-11-14 17:09:39 +00:00
2016-03-14 14:34:10 +00:00
2016-07-10 23:24:36 +00:00
2015-07-15 18:55:39 +00:00
2016-09-29 07:43:08 +00:00
2015-06-23 20:42:09 +00:00
2015-11-02 21:14:48 +00:00
2015-03-02 22:42:58 +00:00
2015-10-08 04:24:12 +00:00
2016-10-17 20:14:23 +00:00
2015-10-12 20:21:08 +00:00
2015-03-02 22:42:58 +00:00
2016-10-13 13:22:01 +00:00
2015-12-27 10:01:44 +00:00
2016-05-23 02:17:28 +00:00
2016-02-07 06:03:38 +00:00
2015-11-09 12:40:41 +00:00
2015-12-16 19:52:05 +00:00
2016-11-16 06:06:44 +00:00
2016-01-16 03:44:52 +00:00
2015-07-26 04:36:39 +00:00
2016-09-07 12:23:15 +00:00
2016-10-03 13:12:20 +00:00
2015-10-18 13:32:20 +00:00
2016-01-07 09:03:42 +00:00
2015-09-23 13:55:40 +00:00
2016-08-24 02:02:32 +00:00
2016-02-26 05:07:00 +00:00
2016-05-27 14:30:23 +00:00
2016-04-12 21:11:46 +00:00
2016-03-14 14:34:04 +00:00
2016-10-20 23:11:45 +00:00
2016-09-14 01:39:49 +00:00
2016-11-11 23:17:36 +00:00
2016-06-10 20:12:00 +00:00
2016-05-12 16:51:36 +00:00
2016-10-06 09:40:37 +00:00
2016-10-06 09:40:37 +00:00
2015-05-22 20:44:03 +00:00
2016-03-09 05:18:16 +00:00
2015-03-17 22:13:05 +00:00
2016-01-07 01:23:19 +00:00
2016-02-12 07:48:28 +00:00
2015-01-30 18:22:23 +00:00
2016-10-13 18:05:53 +00:00
2015-12-21 10:44:36 +00:00
2016-08-30 13:57:50 +00:00
2016-05-11 16:11:22 +00:00
2015-11-02 21:14:48 +00:00
2016-04-30 05:27:17 +00:00
2015-12-21 22:09:34 +00:00
2015-01-16 23:05:28 +00:00
2016-01-05 18:27:06 +00:00
2015-10-08 04:24:12 +00:00
2015-10-30 16:30:36 +00:00
2015-06-25 23:21:11 +00:00
2015-06-04 17:56:32 +00:00
2016-03-28 21:02:54 +00:00
2016-03-28 21:02:54 +00:00
2016-04-18 23:12:59 +00:00
2015-11-10 00:40:29 +00:00
2016-10-25 15:07:41 +00:00
2016-08-08 08:27:36 +00:00
2016-06-30 09:17:46 +00:00
2016-09-23 20:38:09 +00:00
2016-01-25 19:46:40 +00:00
2016-07-18 18:44:51 +00:00
2015-02-04 18:34:26 +00:00
2015-04-11 00:10:44 +00:00
2016-07-27 08:15:54 +00:00
2016-07-27 08:15:54 +00:00
2016-07-27 08:15:54 +00:00
2015-12-16 19:09:51 +00:00
2016-07-27 08:15:54 +00:00
2016-06-14 08:58:50 +00:00
2016-05-27 14:30:23 +00:00
2016-10-18 19:22:20 +00:00
2016-05-27 15:13:31 +00:00
2016-10-18 19:22:20 +00:00
2016-01-14 13:01:48 +00:00
2016-10-18 19:22:20 +00:00
2016-10-18 19:22:20 +00:00
2015-06-16 13:54:13 +00:00
2016-07-27 08:15:54 +00:00
2016-05-26 11:32:19 +00:00
2015-02-03 19:28:37 +00:00
2016-08-30 19:06:26 +00:00
2016-10-31 08:21:54 +00:00
2015-06-16 00:20:23 +00:00
2016-10-10 12:23:40 +00:00
2015-06-11 14:53:41 +00:00
2015-11-12 22:25:38 +00:00
2015-06-25 10:35:19 +00:00
2016-05-13 23:20:11 +00:00
2016-03-14 11:19:43 +00:00
2016-07-01 15:36:31 +00:00
2016-05-13 23:20:11 +00:00
2016-10-25 23:02:30 +00:00
2015-08-26 17:14:08 +00:00
2016-06-06 13:13:12 +00:00
2016-03-14 14:34:04 +00:00
2015-08-05 17:07:33 +00:00
2015-10-14 12:25:43 +00:00
2015-11-24 16:07:21 +00:00
2016-04-20 01:02:18 +00:00
2015-01-30 18:25:59 +00:00
2016-11-10 22:31:06 +00:00
2016-02-07 21:32:17 +00:00
2015-03-03 17:15:38 +00:00
2016-04-02 05:29:00 +00:00
2015-03-02 19:11:53 +00:00
2016-08-01 10:14:54 +00:00
2016-11-13 00:16:21 +00:00
2016-08-09 20:10:18 +00:00
2016-10-31 11:47:37 +00:00
2016-10-27 18:14:55 +00:00
2016-02-24 21:49:28 +00:00
2015-03-19 12:00:22 +00:00
2016-06-23 15:07:32 +00:00
2015-07-10 18:25:54 +00:00
2016-09-27 10:45:22 +00:00
2015-07-06 23:59:45 +00:00
2016-10-02 02:10:45 +00:00
2016-07-28 00:36:34 +00:00
2015-04-15 01:16:18 +00:00
2016-10-10 12:23:40 +00:00
2016-10-10 12:23:40 +00:00
2016-01-06 10:03:58 +00:00
2015-01-30 18:25:48 +00:00
2016-05-16 17:22:25 +00:00
2016-05-16 17:22:25 +00:00
2016-06-29 00:29:23 +00:00
2016-06-23 15:07:32 +00:00
2015-12-16 17:25:27 +00:00
2016-05-18 15:35:58 +00:00
2016-02-29 15:08:56 +00:00
2016-05-29 02:01:14 +00:00
2016-05-29 02:01:14 +00:00
2016-06-09 21:57:40 +00:00
2016-10-26 03:38:48 +00:00
2016-04-20 00:33:06 +00:00
2015-09-11 18:55:09 +00:00
2016-09-26 04:48:22 +00:00
2016-10-20 23:30:39 +00:00
2015-09-11 18:55:09 +00:00
2016-08-08 15:28:40 +00:00
2015-10-16 15:07:56 +00:00
2016-05-25 00:41:24 +00:00
2016-09-09 18:20:49 +00:00
2016-09-26 20:48:34 +00:00
2016-04-19 17:43:54 +00:00
2016-10-11 18:38:33 +00:00
2015-09-09 13:36:00 +00:00
2015-09-14 19:30:53 +00:00
2015-09-14 23:21:31 +00:00
2016-07-04 08:56:08 +00:00
2016-05-24 08:30:08 +00:00
2015-11-27 13:16:33 +00:00
2016-08-31 20:54:35 +00:00
2016-03-24 00:34:02 +00:00
2016-01-25 18:29:16 +00:00
2015-10-14 12:25:43 +00:00
2015-09-12 01:29:35 +00:00
2016-10-18 19:22:20 +00:00
2015-05-05 19:35:52 +00:00
2016-10-31 14:38:05 +00:00
2015-03-05 13:39:14 +00:00
2015-05-11 17:05:05 +00:00
2015-12-07 20:40:36 +00:00
2015-10-15 20:35:53 +00:00
2015-09-03 22:51:53 +00:00
2016-01-26 02:23:05 +00:00
2015-01-14 07:55:36 +00:00
2015-02-12 03:37:55 +00:00
2016-09-20 19:10:56 +00:00
2016-01-07 01:00:21 +00:00
2016-01-07 01:00:21 +00:00
2016-02-22 19:26:15 +00:00
2015-10-30 16:30:45 +00:00
2016-04-28 17:09:37 +00:00
2016-05-05 01:41:07 +00:00
2015-06-08 00:22:46 +00:00
2016-08-31 19:27:07 +00:00
2016-07-27 14:12:20 +00:00
2015-10-03 03:39:28 +00:00
2015-07-15 20:04:18 +00:00
2015-03-25 22:09:26 +00:00
2016-05-04 11:28:22 +00:00
2015-01-29 15:03:36 +00:00
2015-09-10 22:31:45 +00:00