mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Embedded Swift ends up rewriting the linkage of global variables as part of linking together all of the Swift modules. Doing so for extern global variables (e.g., ones meant to be implemented in C) breaks the LLVM module, because they will never have definitions. Only make this change when the global variable is a definition.
873 B
873 B