aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-02-25 21:53:46 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-25 21:59:19 +0100
commite0f5627d4a9cb1b3a1361d70d40043c8c170b2af (patch)
treec46515f91973faaf597ab9758743bd2190652a2e /lib/std/Thread.zig
parent4b14384989362f93cd014628810c63b5cd9d3fff (diff)
downloadzig-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