mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Synthesizing a VarDecl for #dsohandle causes some unwanted accessors to be expected, but we really don't need them: this is a global variable for the start of the image. There are only two uses of getDSOHandle: getting the type and emitting the SIL for it. Rather than perform acrobatics to turn off switches, just emit access directly where it's needed. rdar://problem/26565092
54 KiB
54 KiB