serialization: encode allowable client names in binary module format

This commit is contained in:
Xi Ge
2022-11-25 10:47:51 -08:00
parent 1f3e159cfe
commit 67bbab7e02
15 changed files with 61 additions and 2 deletions

View File

@@ -266,6 +266,7 @@ std::error_code ExplicitModuleInterfaceBuilder::buildSwiftModuleFromInterface(
SerializationOpts.AutolinkForceLoad =
!Invocation.getIRGenOptions().ForceLoadSymbolName.empty();
SerializationOpts.UserModuleVersion = FEOpts.UserModuleVersion;
SerializationOpts.AllowableClients = FEOpts.AllowableClients;
// Record any non-SDK module interface files for the debug info.
StringRef SDKPath = Instance.getASTContext().SearchPathOpts.getSDKPath();