mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ModuleInterface] Pass Through Flags for Nested Types Tables
When a swift module is generated from a swift interface file, we must remember to setup the nested types tables. Plumb the flag down from the frontend options. In the future, we must remove the ability to turn this off. There's literally zero reason to have this be a configuration option anymore. Resolves rdar://59202687 and its many, many dupes.
This commit is contained in:
@@ -347,6 +347,8 @@ bool ModuleInterfaceBuilder::buildSwiftModuleInternal(
|
||||
// optimization pipeline.
|
||||
SerializationOptions SerializationOpts;
|
||||
std::string OutPathStr = OutPath;
|
||||
SerializationOpts.EnableNestedTypeLookupTable
|
||||
= FEOpts.EnableSerializationNestedTypeLookupTable;
|
||||
SerializationOpts.OutputPath = OutPathStr.c_str();
|
||||
SerializationOpts.ModuleLinkName = FEOpts.ModuleLinkName;
|
||||
SerializationOpts.AutolinkForceLoad =
|
||||
|
||||
Reference in New Issue
Block a user