Commit c83f65f
committed
IRGen: address TODO for Windows static linking
This improves the static linking story on Windows by wiring up
information about the static vs dynamic build of the module into the
code generation for references to module external symbols. We now can
indicate a module external symbol to be known local if it is expected to
be internalized due to static linking. Even though the symbol may not
be defined in the same module, the definition will be provided locally
at link time. This avoids needing to resolve a dllimport'ed symbol to a
local symbol at link time.1 parent e35261f commit c83f65f
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2212 | 2212 | | |
2213 | 2213 | | |
2214 | 2214 | | |
2215 | | - | |
2216 | | - | |
2217 | | - | |
2218 | 2215 | | |
2219 | | - | |
| 2216 | + | |
| 2217 | + | |
2220 | 2218 | | |
2221 | 2219 | | |
2222 | 2220 | | |
| |||
0 commit comments