aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-06-29 19:01:48 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-06-30 02:43:05 -0400
commitc248af3bdcd17c334e742d53a7ac7bda2422a688 (patch)
tree8d47cfaa0f653ef1b835c6e250178c763270000a /src/codegen/c.zig
parent54454fd0102af8b25dbc85751d37fd265380d920 (diff)
downloadzig-c248af3bdcd17c334e742d53a7ac7bda2422a688.tar.gz
zig-c248af3bdcd17c334e742d53a7ac7bda2422a688.zip
LLVM: fix lowering of untagged union types
The LLVM backend was calculating the amount of padding solely based on the payload size. However, in the case where there is no union tag, this fails to take into account alignment. Closes #11857
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions