Ayke van Laethem
d4cb92f27c
compiler: fix passing weirdly-padded structs to new goroutines
...
The values were stored in the passed object as the values itself (not
expanded like is common in the calling convention), and read back after
assuming they were expanded. This often works for simple parameters
(int, pointer, etc), but not for more complex parameters. Especially
when there's padding.
Found this while working on `//go:wasmexport`.
2024-09-05 10:53:33 +02:00
..
2024-08-10 23:46:58 -07:00
2022-09-15 19:07:04 +02:00
2024-08-17 11:49:14 +02:00
2022-08-01 10:53:48 +02:00
2024-01-19 21:23:58 +01:00
2024-08-17 11:49:14 +02:00
2024-01-19 21:23:58 +01:00
2019-09-20 10:35:49 +02:00
2019-09-20 10:35:49 +02:00
2022-06-24 11:10:24 +02:00
2022-06-24 11:10:24 +02:00
2021-11-24 14:17:47 +01:00
2021-11-24 14:17:47 +01:00
2023-04-11 18:54:05 -07:00
2020-07-31 01:48:57 +02:00
2023-03-24 09:22:38 -07:00
2023-03-24 09:22:38 -07:00
2024-02-11 10:43:28 +01:00
2021-11-26 08:05:35 +01:00
2021-08-05 19:01:14 +02:00
2022-08-07 10:32:23 +02:00
2021-04-09 18:33:48 +02:00
2021-01-19 14:02:32 +01:00
2021-01-19 14:02:32 +01:00
2023-02-18 10:50:26 +01:00
2022-08-22 10:31:30 +02:00
2022-08-01 10:53:48 +02:00
2023-08-04 11:59:11 +02:00
2023-08-04 11:59:11 +02:00
2024-09-05 10:53:33 +02:00
2024-09-05 10:53:33 +02:00
2024-05-13 16:49:18 +02:00
2021-07-14 07:55:05 +02:00
2023-11-08 19:41:25 +01:00
2023-11-08 19:41:25 +01:00
2021-03-28 14:00:37 +02:00
2021-03-28 14:00:37 +02:00
2021-04-09 18:33:48 +02:00
2021-04-09 18:33:48 +02:00
2023-02-25 06:42:30 -08:00
2023-02-25 06:42:30 -08:00
2023-12-09 07:47:27 +01:00
2023-12-09 07:47:27 +01:00
2022-07-13 14:44:23 +02:00
2022-07-13 14:44:23 +02:00
2021-08-05 19:01:14 +02:00
2021-08-05 19:01:14 +02:00
2022-06-16 07:59:21 +02:00
2022-06-16 07:59:21 +02:00
2024-07-31 21:08:23 +02:00
2024-07-31 21:08:23 +02:00
2023-03-18 17:53:47 +01:00
2024-07-31 13:20:12 -07:00
2020-10-23 21:37:35 +02:00
2020-10-23 21:37:35 +02:00
2023-01-17 08:38:54 +01:00
2020-05-13 08:08:57 +02:00
2020-07-29 12:13:37 +02:00
2019-10-13 23:07:47 +02:00
2019-10-13 23:07:47 +02:00
2023-08-04 11:59:11 +02:00
2022-03-15 05:59:00 +01:00
2024-02-19 22:17:19 +01:00
2022-11-03 15:26:20 +01:00
2023-04-26 18:40:35 +02:00
2020-05-12 01:17:27 +02:00
2019-11-17 15:14:51 +01:00