Luuk de Gram be08d2bdbd
wasm: Fix unreachable paths
When the last instruction is a debug instruction, the type of it is void.
Similarly for 'noreturn' emit an 'unreachable' instruction to tell the wasm-validator
the path cannot be reached.

Also respect the '--strip' flag in the self-hosted wasm linker and not emit a 'name' section
when the flag is set to `true`.
2022-04-19 19:58:49 +02:00
..
2022-04-07 05:04:38 -06:00
2022-03-08 20:38:12 +02:00
2022-03-08 20:38:12 +02:00
2022-04-15 16:52:02 -06:00
2022-04-07 05:04:38 -06:00
2022-04-19 19:58:49 +02:00
2022-03-08 20:38:12 +02:00
2022-04-15 11:20:11 +03:00
2022-01-07 00:06:06 -05:00
2022-04-14 10:12:45 -07:00
2022-04-14 10:12:45 -07:00
2022-04-15 15:26:51 -05:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00