[PATCH] D40682: [driver] Set the 'simulator' environment for Darwin when -m<os>simulator-version-min is used

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 30 14:57:18 PST 2017


arphaman created this revision.

r316380 added support for the 'simulator' environment to LLVM's triple. Clang's driver should pass this to the compiler when `-m<os>simulator-version-min` option is specified so that the compiler can avoid using OS & arch specific checks.


Repository:
  rC Clang

https://reviews.llvm.org/D40682

Files:
  include/clang/Driver/ToolChain.h
  lib/CodeGen/CGObjCMac.cpp
  lib/Driver/ToolChain.cpp
  lib/Driver/ToolChains/Darwin.cpp
  lib/Driver/ToolChains/Darwin.h
  lib/Frontend/InitPreprocessor.cpp
  test/Driver/darwin-version.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40682.125033.patch
Type: text/x-patch
Size: 6577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171130/7a8ddcc5/attachment.bin>


More information about the cfe-commits mailing list