HomePhabricator

[compiler-rt][Darwin] Refactor minimum deployment target substitutions

Authored by yln on Aug 12 2020, 3:02 PM.

Description

[compiler-rt][Darwin] Refactor minimum deployment target substitutions

  • Support macOS 11+ version scheme
  • Standardize substitution name %min_deployment_target=x.y
  • Remove unneeded error cases (the input version is hard-coded)
  • Specify version as tuple instead of string; no need to parse it

These changes should also facilitate a future addition of a substitution
that expands to "set deployment target to current target version"
(https://reviews.llvm.org/D70151).

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D85925

Details

Committed
ylnAug 20 2020, 4:22 PM
Reviewer
delcypher
Differential Revision
D85925: [compiler-rt][Darwin] Refactor minimum deployment target substitutions
Parents
rG9670029b6b30: [ELF] Keep st_type for symbol assignment
Branches
Unknown
Tags
Unknown