[all-commits] [llvm/llvm-project] 37e7cf: Driver: Make macOS the default target OS for -arch...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Mar 18 13:40:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37e7cf7f1c6920d33a4a5dd3f0a415a61dd24731
      https://github.com/llvm/llvm-project/commit/37e7cf7f1c6920d33a4a5dd3f0a415a61dd24731
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/apple-arm64-arch.c

  Log Message:
  -----------
  Driver: Make macOS the default target OS for -arch arm64

This is a follow up to 565603cc94d79a8d0de6df840fd53714899fb890,
which made macOS the default target OS for `-arch arm64` when
running on an Apple Silicon Mac. Now it'll be the default when
running on an Intel Mac too.

clang/test/Driver/apple-arm64-arch.c was a bit odd before: it was added
for the above commit, but tested the inverse behaviour and XFAIL'ed on
Apple Silicon. This inverts it to the (new) behaviour (that's now
correct regardless) and removes the XFAIL.

Radar-Id: rdar://90500294




More information about the All-commits mailing list