[all-commits] [llvm/llvm-project] f575f3: [clang][darwin] Add support for the -mtargetos= op...
Alex Lorenz via All-commits
all-commits at lists.llvm.org
Mon Aug 2 12:45:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f575f371822f6a07483b21701165492224a846bb
https://github.com/llvm/llvm-project/commit/f575f371822f6a07483b21701165492224a846bb
Author: Alex Lorenz <arphaman at gmail.com>
Date: 2021-08-02 (Mon, 02 Aug 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Darwin.cpp
A clang/test/Driver/mtargetos-darwin.c
Log Message:
-----------
[clang][darwin] Add support for the -mtargetos= option to the driver
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.
Differential Revision: https://reviews.llvm.org/D106316
More information about the All-commits
mailing list