-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InstallAPI] Handle zippered frameworks (#88205)
A zippered framework is a single framework that can be loaded in both macOS and macatalyst processes. Broadly to InstallAPI, it means the same interface can represent two separate platforms. A dylib's symbol table does not distinguish between macOS/macCatalyst. `InstallAPI` provides the ability for the tbd file to distinct symbols between them. The verifier handles this special logic by tracking all unavailable and obsoleted APIs in this context and checking against those when determining dylib symbols with no matching declaration. * If there exists an available decl for either platform, do not warn. * If there is no available decl, emit a diagnostic and print the source location for both decls.
- Loading branch information
1 parent
334e07f
commit c24efff
Showing
8 changed files
with
964 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
clang/test/InstallAPI/Inputs/MacOSX13.0.sdk/SDKSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"DefaultVariant": "macos", "DisplayName": "macOS 13", | ||
"Version": "13.0", | ||
"MaximumDeploymentTarget": "13.0.99", | ||
"PropertyConditionFallbackNames": [], "VersionMap": { | ||
"iOSMac_macOS": { | ||
"16.1": "13.0", | ||
"15.0": "12.0", | ||
"13.1": "10.15", | ||
"14.0": "11.0" | ||
}, | ||
"macOS_iOSMac": { | ||
"13.0": "16.1", | ||
"12.0": "15.0", | ||
"11.0": "14.0", | ||
"10.15": "13.1" | ||
} | ||
} | ||
} |
Oops, something went wrong.