[PATCH] D106316: [clang][darwin] Add support for the -mtargetos= option to the driver
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 19 14:46:31 PDT 2021
arphaman created this revision.
arphaman added reviewers: steven_wu, Bigcheese.
Herald added subscribers: dang, ributzka.
arphaman requested review of this revision.
The new `-mtargetos=` option is a replacement for the existing, OS-specific options like `-miphoneos-version-min=`. This allows us to introduce support for new darwin OSes easier as they won't require the use of a new option. The older options will be deprecated and the use of the new option will be encouraged instead.
This patch depends on https://reviews.llvm.org/D105960
https://reviews.llvm.org/D106316
Files:
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/mtargetos-darwin.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106316.359925.patch
Type: text/x-patch
Size: 10775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210719/9474a107/attachment.bin>
More information about the cfe-commits
mailing list