mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Set EnableSerializePackage to false and update call sites.
Update doc comments. rdar://124651962
This commit is contained in:
@@ -899,7 +899,9 @@ bool SILFunction::hasValidLinkageForFragileRef() const {
|
||||
return false;
|
||||
|
||||
// Otherwise, only public or package functions can be referenced.
|
||||
return hasPublicOrPackageVisibility(getLinkage(), getModule().getOptions().EnableSerializePackage);
|
||||
// If it has a package linkage at this point, package CMO must
|
||||
// have been enabled, so opt in for visibility.
|
||||
return hasPublicOrPackageVisibility(getLinkage(), /*includePackage*/ true);
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user