[all-commits] [llvm/llvm-project] c30a52: [Driver] Re-enable aarch64-cpus.c test for arm64-a...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Mon Oct 11 18:53:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c30a52852ba5e85bdd3b1b70b4add7335fabca9a
      https://github.com/llvm/llvm-project/commit/c30a52852ba5e85bdd3b1b70b4add7335fabca9a
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M clang/test/Driver/aarch64-cpus.c

  Log Message:
  -----------
  [Driver] Re-enable aarch64-cpus.c test for arm64-apple.

"darwin" is ambiguous.  When there isn't a better source
of truth (e.g., SDKs), the driver will either interpret it
as "iOS" when cross-compiling to a different architecture,
or "the host" when not.  That's now the case on AS Macs.

Update the test to more explicitly test the OS.
aarch64-mac-cpus.c already tests the mac-specific driver logic.




More information about the All-commits mailing list