Luboš Luňák
31b05692cd
make -fmodules-codegen and -fmodules-debuginfo work also with PCHs
...
Allow to build PCH's (with -building-pch-with-obj and the extra .o file)
with -fmodules-codegen -fmodules-debuginfo to allow emitting shared code
into the extra .o file, similarly to how it works with modules. A bit of
a misnomer, but the underlying functionality is the same. This saves up
to 20% of build time here. The patch is fairly simple, it basically just
duplicates -fmodules checks to also alternatively check
-building-pch-with-obj.
This already got committed as cbc9d22e49 ,
but then got reverted in 7ea9a6e022
because of PR44953, as discussed in D74846. This is a corrected version
which does not include two places for the PCH case that aren't included
in the modules -fmodules-codegen path either.
Differential Revision: https://reviews.llvm.org/D69778
2020-07-09 15:22:26 +02:00
..
2020-07-09 15:22:26 +02:00
2020-06-19 09:41:15 +01:00
2019-09-10 20:15:45 +00:00
2020-04-28 18:41:14 -07:00
2019-05-17 03:44:15 +00:00
2019-09-27 05:37:06 +00:00
2019-09-10 20:15:45 +00:00
2019-07-10 00:30:02 +00:00
2020-02-03 10:09:39 -08:00
2020-01-14 23:39:50 +01:00
2019-05-13 22:40:11 +00:00
2020-07-07 17:13:23 -06:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2019-12-03 15:44:01 -08:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2019-10-14 01:41:56 +00:00
2020-06-12 10:29:01 -07:00
2020-06-12 10:29:01 -07:00
2020-04-28 18:41:14 -07:00
2020-03-27 14:23:30 -07:00
2019-02-15 20:24:26 +00:00
2020-06-01 09:10:05 +02:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2019-09-10 20:15:45 +00:00
2019-09-10 20:15:45 +00:00
2020-04-28 18:41:14 -07:00
2020-01-27 22:08:37 -05:00
2019-12-03 15:44:01 -08:00
2020-06-15 12:27:25 +01:00
2019-05-22 21:58:17 +00:00
2020-01-27 22:08:37 -05:00
2020-05-28 12:30:38 +02:00
2020-03-20 14:18:15 -07:00
2019-05-08 13:42:44 +00:00
2019-04-11 21:18:23 +00:00
2019-12-03 15:44:01 -08:00
2019-02-05 12:05:53 +00:00
2018-12-06 09:35:04 +00:00
2020-03-03 14:14:24 -08:00
2019-01-29 19:33:48 +00:00
2020-03-10 10:59:26 -07:00
2019-09-10 20:15:45 +00:00
2020-02-28 15:40:24 -08:00
2020-02-03 10:09:39 -08:00
2020-04-28 18:41:14 -07:00
2019-11-16 14:47:20 +01:00
2019-02-05 12:05:53 +00:00
2020-01-27 22:08:37 -05:00
2018-09-12 23:37:00 +00:00
2018-11-09 02:44:07 +00:00
2020-04-17 22:49:58 -07:00
2019-04-11 21:18:23 +00:00
2018-12-06 18:44:50 +00:00
2019-05-09 03:31:27 +00:00
2020-06-01 09:10:05 +02:00
2020-06-01 09:10:05 +02:00
2020-04-28 18:41:14 -07:00
2019-04-19 23:04:05 +00:00
2020-04-28 18:41:14 -07:00
2020-06-04 08:33:39 +02:00
2020-04-28 18:41:14 -07:00
2020-01-27 22:08:37 -05:00
2020-02-12 18:44:19 -05:00
2020-01-14 21:12:15 -08:00
2019-06-28 17:42:17 +00:00
2019-03-09 17:33:56 +00:00
2020-02-12 08:17:01 -08:00
2019-09-18 19:09:41 +00:00
2019-05-08 02:03:32 +00:00
2018-12-05 11:17:50 +00:00
2019-11-09 17:54:58 +01:00
2018-09-13 14:27:32 +00:00
2019-03-11 10:44:10 +00:00
2019-03-06 02:50:46 +00:00
2019-03-06 05:42:56 +00:00
2020-04-28 18:41:14 -07:00
2018-11-05 12:46:02 +00:00
2019-11-14 18:32:27 -08:00
2018-11-14 01:08:03 +00:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2020-04-28 18:41:14 -07:00
2018-09-18 17:11:13 +00:00
2020-04-28 18:41:14 -07:00
2020-05-19 20:21:30 -07:00
2019-09-27 05:37:06 +00:00
2018-09-12 23:09:23 +00:00
2020-04-28 18:41:14 -07:00
2020-01-27 22:08:37 -05:00
2019-10-15 14:23:55 +00:00
2020-02-03 10:09:39 -08:00
2020-04-28 18:41:14 -07:00