Yolanda Chen
8fa16cc628
[LTO][lld] Add lto-pgo-warn-mismatch option
...
When enable CSPGO for ThinLTO, there are profile cfg mismatch warnings that will cause lld-link errors (with /WX)
due to source changes (e.g. `#if` code runs for profile generation but not for profile use)
To disable it we have to use an internal "/mllvm:-no-pgo-warn-mismatch" option.
In contrast clang uses option ”-Wno-backend-plugin“ to avoid such warnings and gcc has an explicit "-Wno-coverage-mismatch" option.
Add "lto-pgo-warn-mismatch" option to lld COFF/ELF to help turn on/off the profile mismatch warnings explicitly when build with ThinLTO and CSPGO.
Differential Revision: https://reviews.llvm.org/D104431
2021-08-11 09:45:55 -07:00
..
2021-08-11 16:25:42 +08:00
2021-02-08 08:55:29 -08:00
2019-09-10 23:15:38 +00:00
2021-03-24 11:54:05 -04:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-09-21 10:18:09 +01:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-12-23 11:35:44 -08:00
2020-02-12 21:54:50 -08:00
2020-10-23 09:51:30 +01:00
2019-09-10 23:15:38 +00:00
2020-03-05 18:05:28 -08:00
2020-02-12 21:54:50 -08:00
2019-09-10 23:15:38 +00:00
2021-07-20 15:27:52 -07:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-04-02 01:21:36 +09:00
2020-10-23 09:51:30 +01:00
2020-03-15 17:48:36 -07:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-03-05 18:05:28 -08:00
2019-05-17 03:44:15 +00:00
2021-05-24 23:32:21 -04:00
2021-02-13 16:32:39 -08:00
2021-03-09 22:33:47 -08:00
2021-01-27 15:54:13 -08:00
2021-02-17 12:49:24 -08:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-02-12 21:54:50 -08:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-04-27 11:00:46 -07:00
2019-09-10 23:15:38 +00:00
2021-01-11 09:33:22 -08:00
2019-11-08 19:08:15 +09:00
2019-09-10 23:15:38 +00:00
2020-11-04 20:06:20 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-02-12 21:54:50 -08:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-05-04 18:31:09 -07:00
2020-03-26 08:28:59 -07:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-03-16 07:42:04 -07:00
2019-09-10 23:15:38 +00:00
2020-02-13 10:16:06 -08:00
2019-09-10 23:15:38 +00:00
2020-02-12 21:54:50 -08:00
2020-02-12 21:54:50 -08:00
2020-09-29 10:26:58 -07:00
2019-09-10 23:15:38 +00:00
2021-05-07 21:51:47 -07:00
2020-10-23 09:51:30 +01:00
2020-03-16 07:42:04 -07:00
2020-02-12 21:54:50 -08:00
2021-08-10 11:51:31 -07:00
2019-09-10 23:15:38 +00:00
2021-02-19 13:08:17 +01:00
2021-08-11 09:45:55 -07:00
2019-09-10 23:15:38 +00:00
2018-09-20 00:26:49 +00:00
2021-01-22 11:07:10 -08:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-12-09 15:38:50 +01:00
2020-12-04 19:33:19 -08:00
2021-04-13 16:11:58 -07:00
2020-10-23 09:51:30 +01:00
2019-07-03 02:13:11 +00:00
2019-07-03 02:13:11 +00:00
2019-09-10 23:15:38 +00:00
2019-10-30 09:22:48 -07:00
2021-04-16 12:18:46 -07:00
2020-02-12 21:54:50 -08:00
2019-09-10 23:15:38 +00:00
2020-01-09 21:13:11 -08:00
2019-09-10 23:15:38 +00:00
2019-09-07 08:20:09 +00:00
2019-09-07 08:20:09 +00:00
2019-09-10 23:15:38 +00:00
2021-02-03 09:53:22 -05:00
2020-03-16 07:42:04 -07:00
2021-02-03 09:53:22 -05:00
2020-05-08 07:37:06 -07:00
2020-06-09 23:10:30 -07:00
2019-09-10 23:15:38 +00:00
2020-05-08 07:37:06 -07:00
2020-05-08 07:37:06 -07:00
2020-05-08 07:37:06 -07:00
2020-06-10 15:32:30 -07:00
2020-05-15 12:02:08 -07:00
2020-08-17 10:00:31 -07:00
2020-05-15 12:02:08 -07:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-09-21 10:18:09 +01:00
2019-09-10 23:15:38 +00:00
2019-08-30 07:10:30 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-12-09 17:53:37 -08:00
2020-04-06 09:47:06 -07:00
2020-12-01 10:22:33 -08:00
2019-09-10 23:15:38 +00:00
2019-09-10 23:15:38 +00:00
2020-10-26 18:10:31 +01:00
2020-09-24 11:49:20 +01:00
2020-03-05 18:05:28 -08:00
2020-09-30 20:09:25 -07:00
2020-09-21 10:18:09 +01:00
2021-01-22 09:20:29 -08:00