mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* SILModule::isVisibleExternally utility for VarDecls. * Fix the SIL parser so it doesn't drop global variable decls. This information was getting lost in SIL printing/parsing. Some passes rely on it. Regardless of whether passes should rely on it, it is totally unacceptable for the SIL passes to have subtle differences in behavior depending on the frontend mode. So, if we don't want passes to rely on global variable decls, that needs to be enforced by the API independent of how the frontend is invoked or how SIL is serialized. * Use custom DemangleOptions to lookup global variable identifiers.
1.7 KiB
1.7 KiB