Files
Odin/src
mo 23bd3cd927 detect invalid block size caused by a void type
Fixes #7008

When a union variant includes a pointer to a forward type, `lb_sizeof`
returns 0 for the size of the block. This causes an extra padding word
to be added to the llvm type, causing a size_of and type_of mismatch.

The fix detects the 0 size and falls back to using `type_size_of` on
the first variant.
2026-08-21 21:58:21 +12:00
..
2026-08-19 11:58:48 +02:00
2025-03-18 15:39:18 +00:00
&&
2024-11-07 15:02:19 +01:00
2026-08-13 20:47:16 -07:00
2026-03-19 08:27:09 +09:00
2026-08-20 10:16:34 +01:00
2026-08-20 12:37:28 +02:00
2026-08-09 12:04:08 -07:00
2026-08-18 14:57:34 +01:00
2021-08-29 15:54:56 +02:00
2026-08-19 20:13:00 -05:00
2026-06-30 22:44:28 +02:00
2026-04-11 12:51:22 +02:00
2026-06-29 17:01:44 +01:00
2026-08-17 19:54:21 +01:00
2026-08-18 14:57:34 +01:00
2022-12-18 21:17:07 +00:00
2026-03-17 12:55:25 +00:00
2025-08-02 12:33:33 +01:00
2026-05-12 18:24:08 -04:00
2024-04-26 13:25:08 +01:00
2026-08-12 16:08:58 +01:00
2026-08-19 20:12:56 -05:00
2026-07-01 22:54:48 -04:00