[all-commits] [llvm/llvm-project] ac1f7a: [clang] [Darwin] Add reverse mappings for aarch64/...

Mateusz Mikuła via All-commits all-commits at lists.llvm.org
Fri May 29 05:23:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac1f7ab007e347dc4a542aa3415e6378289480f4
      https://github.com/llvm/llvm-project/commit/ac1f7ab007e347dc4a542aa3415e6378289480f4
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp
    A clang/test/Driver/darwin-arm64-target.c

  Log Message:
  -----------
  [clang] [Darwin] Add reverse mappings for aarch64/aarch64_32 to darwin arch names

These are mapped in MachO::getMachOArchName already, but were missing
in ToolChain::getDefaultUniversalArchName.

Having these reverse mapped here fixes weird inconsistencies like
-dumpmachine showing a target triple like "aarch64-apple-darwin",
while "clang -target aarch64-apple-darwin" didn't use to work (ended
up mapped as unknown-apple-ios).

Differential Revision: https://reviews.llvm.org/D79117


  Commit: ab4d02cf265982d4c03123d2f52b9d5ee8df575d
      https://github.com/llvm/llvm-project/commit/ab4d02cf265982d4c03123d2f52b9d5ee8df575d
  Author: Mateusz Mikuła <mati865 at gmail.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/compiler-rt-unwind.c

  Log Message:
  -----------
  [clang] [MinGW] Fix libunwind extension

Differential Revision: https://reviews.llvm.org/D79995


Compare: https://github.com/llvm/llvm-project/compare/d20a3d35e187...ab4d02cf2659


More information about the All-commits mailing list