Paul Kirth
4683a2effa
[llvm][misexpect] Avoid division by 0 when using sample profiling
...
MisExpect diagnostics should not prevent compilation from succeeding, and the
assertion is insufficient to prevent division by zero in release builds.
This patch addresses that by replacing the assert with an early return.
Additionally, it disables MisExpect diagnostics when using sample profiling,
since this is the only known case where this error has manifested.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D124302
2022-04-22 22:48:00 +00:00
..
2021-06-15 21:51:04 -07:00
2022-02-11 22:51:56 +05:30
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-04-19 22:26:10 -07:00
2022-03-01 21:00:07 +01:00
2022-03-14 10:16:28 -07:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-31 19:15:52 +07:00
2022-03-01 21:00:07 +01:00
2022-04-19 21:23:48 +00:00
2022-03-06 18:34:25 -05:00
2022-03-02 07:17:48 -08:00
2021-11-02 18:13:23 -07:00
2022-03-10 16:02:12 +01:00
2022-04-21 13:58:17 +02:00
2022-03-01 21:00:07 +01:00
2021-09-15 08:34:04 +02:00
2021-01-30 01:14:51 +03:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2021-10-31 07:57:32 -07:00
2021-12-15 14:40:56 -08:00
2022-03-01 21:00:07 +01:00
2022-02-22 10:02:37 +01:00
2021-11-23 13:22:55 -05:00
2021-02-03 12:59:40 -08:00
2022-03-01 21:00:07 +01:00
2022-03-31 19:15:52 +07:00
2020-10-22 12:08:36 -07:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-04-02 16:04:39 +07:00
2022-03-02 09:56:20 -08:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-01-06 08:51:50 -08:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-02-10 16:14:52 -08:00
2022-04-08 19:06:36 -04:00
2022-03-23 18:36:55 -07:00
2022-03-01 21:00:07 +01:00
2022-04-08 10:41:31 +07:00
2022-04-14 13:30:56 +08:00
2021-07-09 09:55:41 -07:00
2022-03-29 09:00:21 +02:00
2022-01-26 16:55:53 +01:00
2022-04-22 22:48:00 +00:00
2022-04-15 20:35:26 -04:00
2022-02-02 06:54:20 +01:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-16 10:39:28 +01:00
2022-03-09 10:01:38 -08:00
2022-03-08 12:35:15 -08:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2022-03-28 12:01:53 +01:00
2022-04-22 10:27:38 +02:00
2022-04-06 10:01:46 +03:00
2022-04-19 22:26:10 -07:00
2021-05-07 11:15:43 -07:00
2021-10-20 10:29:47 -07:00
2022-03-01 21:00:07 +01:00
2021-07-30 08:56:49 -07:00
2022-03-01 21:00:07 +01:00
2022-03-01 21:00:07 +01:00
2020-10-20 10:33:58 -07:00
2022-03-01 21:00:07 +01:00
2022-03-23 18:36:55 -07:00
2022-01-17 17:17:32 +00:00
2022-02-02 06:54:20 +01:00