mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ParseableInterface] Don't serialize all SIL like a SIB file (#20976)
This would break resilience, which makes a distinction between "SIL only inside the module, which is inside the resilience domain" and "SIL we're going to serialize, which is outside the resilience domain".
This commit is contained in:
@@ -349,7 +349,6 @@ static bool buildSwiftModuleFromSwiftInterface(
|
||||
SerializationOptions SerializationOpts;
|
||||
std::string OutPathStr = OutPath;
|
||||
SerializationOpts.OutputPath = OutPathStr.c_str();
|
||||
SerializationOpts.SerializeAllSIL = true;
|
||||
SerializationOpts.ModuleLinkName = FEOpts.ModuleLinkName;
|
||||
SmallVector<FileDependency, 16> Deps;
|
||||
if (collectDepsForSerialization(FS, SubInstance, InPath, ModuleCachePath,
|
||||
|
||||
Reference in New Issue
Block a user