[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 20:13:20 PDT 2021


arphaman added a comment.

In D106316#2888628 <https://reviews.llvm.org/D106316#2888628>, @steven_wu wrote:

> Looks good in general. Just one corner case that we need to decide with direction we go, following command builds arm64-ios and x86_64-ios-simulator:
> `clang -arch arm64 -arch x86_64 -c -o test.o test.c -mios-version-min=14`
> Should we document and deprecate that behavior?

Yes this can be documented and deprecated, but I can do this in a follow-up commit. We do want to try to remove the inferring of the simulator from the x86_64 arch, but I don't think we can do that just yet, although I haven't tested this recently.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106316/new/

https://reviews.llvm.org/D106316



More information about the cfe-commits mailing list