mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
LLVM: handle extern function name collisions
Zig allows multiple extern functions with the same name, and the backends have to handle this possibility. For LLVM, we keep a sparse map of collisions, and then resolve them in flushModule(). This introduces some technical debt that will have to be resolved when adding incremental compilation support to the LLVM backend.
This commit is contained in:
parent
d9b0c984aa
commit
e9fc58eab7
2 changed files with 54 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue