diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-25 21:53:46 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-25 21:59:19 +0100 |
| commit | e0f5627d4a9cb1b3a1361d70d40043c8c170b2af (patch) | |
| tree | c46515f91973faaf597ab9758743bd2190652a2e /lib/std/Thread.zig | |
| parent | 4b14384989362f93cd014628810c63b5cd9d3fff (diff) | |
| download | zig-e0f5627d4a9cb1b3a1361d70d40043c8c170b2af.tar.gz zig-e0f5627d4a9cb1b3a1361d70d40043c8c170b2af.zip | |
x64+aarch64: check for pointer to zero-bit type when lowering decl
Unless the pointer is a pointer to a function, if the pointee type
has zero-bits, we need to return `MCValue.none` as the `Decl` has
not been lowered to memory, and therefore, any GOT reference will be
wrong.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions
