Commit Graph

2 Commits

Author SHA1 Message Date
Erik Eckstein
1e6511e7c0 Pass Pipeline: replace the old GlobalOpt with the new InitializeStaticGlobals and ReadOnlyGlobalVariablesPass passes. 2023-05-08 21:23:36 +02:00
Erik Eckstein
184ee7133a IRGen: correctly cast C-function pointers in statically initialized globals.
This fixes a IRGen crash, introduced with https://github.com/apple/swift/pull/35780

rdar://74358259
2021-02-16 22:27:39 +01:00