HomePhabricator

canonicalize macOS 10.16 availability to macOS 11 while preserving uses of if…
5aa7d5b69cb6Unpublished

Authored by arphaman on Jun 29 2020, 10:08 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

canonicalize macOS 10.16 availability to macOS 11 while preserving uses of if @available macOS 10.16

This patch canonicalizes the macOS versions in the availability, so that clang can treat macOS 10.16 availability as macOS 11 availability. The if (@available (macOS 10.16, *) checks still preserve their original version in the generated code to ensure that the software running on macOS Big Sur Beta 1 can still exhibits the expected runtime behavior for the 10.16 availability checks.

Details

Committed
arphamanJun 29 2020, 10:11 PM
Parents
rG05f0eaeff4f6: [darwin][driver] pass the minimum supported OS version to the linker if it's…
Branches
Unknown
Tags
Unknown