diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-03-08 21:42:45 +0000 |
|---|---|---|
| committer | Matthew Lugg <mlugg@mlugg.co.uk> | 2024-03-09 04:52:06 +0000 |
| commit | e2cbbd0c264b323a422ef6dc8c586c287aec845a (patch) | |
| tree | e77ffd706104730d8e50d60cfebb60fdf0e7941a /src/codegen/spirv/Module.zig | |
| parent | 9cf28d1e9bc940b13cd47efb778fd42a4b3b88de (diff) | |
| download | zig-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
