aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/errmsg.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-02-10 00:24:52 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-02-10 00:27:02 -0700
commitc10fdde5a64a46bc514500e97b8c87d19f86e431 (patch)
tree0512ae6e4bd7082d6df656f53ee174b99fe7f49e /src/stage1/errmsg.cpp
parent57357c43e3b56fd636cd08af591c50a08223b654 (diff)
downloadzig-c10fdde5a64a46bc514500e97b8c87d19f86e431.tar.gz
zig-c10fdde5a64a46bc514500e97b8c87d19f86e431.zip
stage2: LLVM backend: make unnamed struct globals
LLVM union globals have to be lowered as unnamed structs if the non-most-aligned field is the active tag. In this case it bubbles up so that structs containing unions have the same restriction. This fix needs to be applied to optionals and other callsites of createNamedStruct. The bug fixed in this commit was revealed in searching for the cause of #10837.
Diffstat (limited to 'src/stage1/errmsg.cpp')
0 files changed, 0 insertions, 0 deletions