Richard Smith
6da2ed6abd
Diagnose if a SLEB128 is too large to fit in an int64_t.
...
Previously we'd hit UB due to an invalid left shift operand.
Also fix the WASM emitter to properly use SLEB128 encoding instead of
ULEB128 encoding for signed fields so that negative numbers don't
result in overly-large values that we can't read back any more.
In passing, don't diagnose a non-canonical ULEB128 that fits in a uint64_t but
has redundant trailing zero bytes.
Reviewed By: dblaikie, aardappel
Differential Revision: https://reviews.llvm.org/D95510
2021-02-02 14:33:34 -08:00
..
2020-08-28 10:53:20 -04:00
2020-05-22 21:54:28 -07:00
2020-12-14 17:04:06 -08:00
2020-05-02 16:08:46 +02:00
2020-11-28 12:28:22 -08:00
2020-03-03 12:17:53 +01:00
2020-01-24 17:29:32 -08:00
2019-08-15 15:54:37 +00:00
2020-12-14 17:04:06 -08:00
2020-11-05 13:01:32 -08:00
2020-08-11 20:22:11 -07:00
2020-10-14 12:02:27 +02:00
2021-01-22 15:04:34 -08:00
2020-02-05 21:32:11 +01:00
2021-01-07 14:18:19 -08:00
2020-07-17 17:35:59 -07:00
2020-02-21 15:29:48 +01:00
2020-04-13 12:52:44 -07:00
2021-01-25 15:09:00 -08:00
2020-05-05 08:11:58 -07:00
2020-09-02 00:34:44 +03:00
2020-07-06 16:18:15 +01:00
2020-07-22 15:30:40 -07:00
2020-11-02 13:26:15 -05:00
2020-09-16 10:26:11 +01:00
2021-01-20 22:23:43 +00:00
2020-04-14 15:14:40 -07:00
2021-02-02 12:10:02 -08:00
2019-12-18 10:47:02 -08:00
2020-10-12 12:48:08 +02:00
2021-01-14 14:50:21 +00:00
2020-08-17 12:54:09 +01:00
2021-02-02 14:33:34 -08:00
2020-11-06 09:01:19 +00:00
2020-10-13 16:43:49 -04:00
2020-09-09 01:53:15 +03:00
2020-02-27 17:23:48 -08:00
2020-10-13 16:42:24 -04:00
2020-10-13 16:42:24 -04:00
2020-12-12 19:46:32 -05:00
2020-04-10 00:14:20 -04:00
2020-11-02 16:50:14 -08:00
2020-09-24 11:25:36 +02:00
2020-05-06 09:12:00 -04:00
2020-07-28 16:44:23 +07:00
2020-09-12 07:34:19 +00:00
2020-06-09 17:48:00 -07:00
2019-08-14 13:59:04 +00:00
2019-11-11 22:14:28 -08:00
2019-08-14 13:59:04 +00:00
2020-01-07 00:51:41 +01:00
2020-03-31 16:16:19 +08:00
2020-12-02 22:02:48 -08:00
2020-06-20 16:03:58 -07:00
2020-06-08 12:44:18 -07:00
2020-02-27 17:23:48 -08:00
2021-01-19 14:04:53 +00:00
2020-09-02 00:34:44 +03:00
2020-02-14 10:24:22 -05:00
2020-02-14 10:24:22 -05:00
2021-01-14 17:03:22 -05:00
2020-06-04 14:56:35 +02:00
2019-10-14 13:14:34 +00:00
2019-08-15 15:54:37 +00:00
2020-12-03 19:58:06 +00:00
2020-12-03 20:11:11 +01:00
2021-02-02 14:56:17 +10:00
2020-06-08 09:48:47 -07:00
2021-01-25 13:35:36 -08:00
2020-12-12 12:50:34 +00:00