summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/darwin-simulator-macro.c
Commit message (Collapse)AuthorAgeFilesLines
* [driver] Set the 'simulator' environment for Darwin when compiling forAlex Lorenz2017-12-071-4/+3
| | | | | | | | | | iOS/tvOS/watchOS simulator rdar://35135215 Differential Revision: https://reviews.llvm.org/D40682 llvm-svn: 320073
* [Driver] Define macro __APPLE_EMBEDDED_SIMULATOR__ when optionAkira Hatanaka2017-03-151-0/+12
-m(i|tv|watch)os-simulator-version-min is on the command line. Previously the driver would treat -m(i|tv|watch)os-simulator-version-min as an alias of -m(i|tv|watch)os-version-min. This no longer works since we now need to distinguish between the two options (the latter is used for iOS running in a VM, for example). This commit stops making the simulator options the aliases of the OS options and defines a macro to differentiate between the two groups of options. rdar://problem/28872911 llvm-svn: 297866
OpenPOWER on IntegriCloud