Heejin Ahn
7e6793aa33
[WebAssembly] Generate unreachable after __stack_chk_fail
...
`__stack_chk_fail` does not return, but `unreachable` was not generated
following `call __stack_chk_fail`. This had a possibility to generate an
invalid binary for functions with a return type, because
`__stack_chk_fail`'s return type is void and `call __stack_chk_fail` can
be the last instruction in the function whose return type is non-void.
Generating `unreachable` after it makes sure CFGStackify's
`fixEndsAtEndOfFunction` handles it correctly.
Reviewed By: tlively
Differential Revision: https://reviews.llvm.org/D83277
2020-07-08 01:02:05 -07:00
..
2020-06-17 16:25:50 -07:00
2020-06-15 08:31:56 -07:00
2020-07-06 12:49:50 -07:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-06-19 14:55:21 -07:00
2020-06-03 14:04:59 -07:00
2020-02-13 10:16:06 -08:00
2020-06-15 08:31:56 -07:00
2020-04-16 16:32:17 -07:00
2020-06-04 13:25:10 -07:00
2020-06-06 22:30:51 -04:00
2020-05-28 19:46:11 -07:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-06-11 15:11:45 -07:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-06-15 08:31:56 -07:00
2020-06-15 08:31:56 -07:00
2020-06-15 08:31:56 -07:00
2020-06-15 08:31:56 -07:00
2020-02-18 15:55:20 -08:00
2020-06-20 00:06:39 -07:00
2020-01-23 18:13:52 -08:00
2020-04-09 18:44:50 -07:00
2020-04-09 18:44:50 -07:00
2020-03-26 16:19:02 -07:00
2020-02-18 15:55:20 -08:00
2020-07-06 12:49:50 -07:00
2020-01-17 17:23:56 -08:00
2020-02-18 14:56:09 -08:00
2020-02-18 14:56:09 -08:00
2020-02-18 15:55:20 -08:00
2020-02-13 10:16:06 -08:00
2020-05-04 14:44:39 +01:00
2020-01-24 14:26:27 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-05-19 12:50:44 -07:00
2020-02-04 18:36:32 -08:00
2020-02-04 18:36:32 -08:00
2020-05-15 10:53:02 -07:00
2020-02-04 18:36:32 -08:00
2020-05-01 17:20:49 -07:00
2020-02-04 18:36:32 -08:00
2020-06-09 10:14:14 -07:00
2020-06-09 13:46:12 -07:00
2020-06-03 15:36:44 -07:00
2020-05-15 10:53:02 -07:00
2020-02-04 18:36:32 -08:00
2020-02-25 13:54:48 -08:00
2020-07-07 10:45:26 -07:00
2020-07-02 16:21:54 +08:00
2020-05-19 12:50:44 -07:00
2020-02-25 13:54:48 -08:00
2020-06-25 15:52:44 -07:00
2020-06-03 14:04:59 -07:00
2020-07-08 01:02:05 -07:00
2020-05-14 13:14:45 -07:00
2020-06-15 08:31:56 -07:00
2020-06-15 08:31:56 -07:00
2020-06-15 08:31:56 -07:00
2020-03-19 17:39:52 -07:00
2020-06-11 15:11:45 -07:00
2020-06-17 12:34:45 -07:00
2020-07-03 17:15:39 -07:00
2020-02-18 15:55:20 -08:00
2020-05-08 13:52:39 -07:00
2020-01-24 14:27:35 -08:00
2020-02-13 10:16:06 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-06-25 15:52:44 -07:00
2020-04-04 07:02:50 -07:00