Open anlaital opened 2 years ago
Still happens with Xcode 14.1 & Swift 5.7.1.
Seeing the same here with a complex project @anlaital. How did you end up solving this?
Seeing the same here with a complex project @anlaital. How did you end up solving this?
the same
This is still an issue with Xcode 16 / Swift 6.0. The workaround I did was removing inlinability from specific functions.
Describe the bug
Compiler crashes when optimizing our app with release configuration. I previously opened a bug report against GRDB on this which is causing the issues here, but this is most likely a compiler bug instead.
Adding
-Xllvm -sil-disable-pass=performance-linker
toOTHER_SWIFT_FLAGS
makes the problem go away, but has other implications such as making assertions enabled in release builds.Steps To Reproduce
Unfortunately there is no stand-alone repro case for this yet. I will try to work on it, but our project is quite complex.
Expected behavior
App should compile and link fine in release configuration.
Environment (please fill out the following information)