IRGen: further generalise runtime function generation

This adjusts the runtime function declaration handling to track the
owning module for the well known functions. This allows us to ensure
that we are able to properly identify if the symbol should be imported
or not when building the shared libraries. This will require a
subsequent tweak to allow for checking for static library linkage to
ensure that we do not mark the symbol as DLLImport when doing static
linking.
This commit is contained in:
Saleem Abdulrasool
2025-01-10 10:35:36 -08:00
parent 73b184df24
commit ec70054c93
9 changed files with 340 additions and 334 deletions

File diff suppressed because it is too large Load Diff