Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2024-04-22 12:53:37 -07:00
13 changed files with 304 additions and 54 deletions

View File

@@ -201,6 +201,9 @@ static bool readOptionsBlock(llvm::BitstreamCursor &cursor,
case options_block::ALLOW_NON_RESILIENT_ACCESS:
extendedInfo.setAllowNonResilientAccess(true);
break;
case options_block::SERIALIZE_PACKAGE_ENABLED:
extendedInfo.setSerializePackageEnabled(true);
break;
default:
// Unknown options record, possibly for use by a future version of the
// module format.
@@ -1449,6 +1452,7 @@ ModuleFileSharedCore::ModuleFileSharedCore(
Bits.IsConcurrencyChecked = extInfo.isConcurrencyChecked();
Bits.HasCxxInteroperability = extInfo.hasCxxInteroperability();
Bits.AllowNonResilientAccess = extInfo.allowNonResilientAccess();
Bits.SerializePackageEnabled = extInfo.serializePackageEnabled();
MiscVersion = info.miscVersion;
ModuleABIName = extInfo.getModuleABIName();
ModulePackageName = extInfo.getModulePackageName();