aboutsummaryrefslogtreecommitdiff
path: root/src/windows_sdk.cpp
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-04-16 20:26:38 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-04-17 13:42:23 -0400
commit8e96922f3118601dd30da23ba7db1440066784ab (patch)
treea47f640736e0be09a452e1d90bc64997f7794767 /src/windows_sdk.cpp
parenta4b1242f0aeaf785f6b05cb843bb2efc0e6e702d (diff)
downloadzig-8e96922f3118601dd30da23ba7db1440066784ab.tar.gz
zig-8e96922f3118601dd30da23ba7db1440066784ab.zip
stage1: Fix several bugs in constant generation
The codegen would sometimes change the LLVM type for some constants to an unnamed structure in order to accomodate extra padding. This is fine as long as the alignment of each field is still respected and it was not the case for structure types, leading to ill-formed constants being generated. Optional types suffer from this to a lower extent as their layout is quite lucky, the only missing piece was the tail padding. Closes #4530 Closes #4594 Closes #4295 Closes my will to live
Diffstat (limited to 'src/windows_sdk.cpp')
0 files changed, 0 insertions, 0 deletions