aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv/Module.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-03-08 21:42:45 +0000
committerMatthew Lugg <mlugg@mlugg.co.uk>2024-03-09 04:52:06 +0000
commite2cbbd0c264b323a422ef6dc8c586c287aec845a (patch)
treee77ffd706104730d8e50d60cfebb60fdf0e7941a /src/codegen/spirv/Module.zig
parent9cf28d1e9bc940b13cd47efb778fd42a4b3b88de (diff)
downloadzig-e2cbbd0c264b323a422ef6dc8c586c287aec845a.tar.gz
zig-e2cbbd0c264b323a422ef6dc8c586c287aec845a.zip
Sema: perform codegen for anon decl created by `@extern`
This fixes a bug where, at least with the LLVM backend, `@extern` calls which had the same name as a normal `extern` in the same Zcu would result in the `@extern` incorrectly suffixing the identifier `.2`. Usually, the LLVM backend has a system to change the generated globals to "collapse" them all together, but it only works if `updateDecl` is called!
Diffstat (limited to 'src/codegen/spirv/Module.zig')
0 files changed, 0 insertions, 0 deletions