mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[embedded] Make CMO's 'serialize everything' mode even more aggressive and allow serialization of private and shared functions
This commit is contained in:
@@ -3117,6 +3117,7 @@ bool CompilerInvocation::parseArgs(
|
||||
if (LangOpts.hasFeature(Feature::Embedded)) {
|
||||
IRGenOpts.InternalizeAtLink = true;
|
||||
IRGenOpts.DisableLegacyTypeInfo = true;
|
||||
SILOpts.CMOMode = CrossModuleOptimizationMode::Everything;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user