[all-commits] [llvm/llvm-project] 9f77fa: [Driver] Properly report error for unsupported pow...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Sep 10 13:06:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f77facfce3ca23213c1de2e3e4c969b5187e29d
      https://github.com/llvm/llvm-project/commit/9f77facfce3ca23213c1de2e3e4c969b5187e29d
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-09-10 (Sun, 10 Sep 2023)

  Changed paths:
    M clang/test/Driver/unsupported-target-arch.c
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/unittests/TargetParser/TripleTest.cpp

  Log Message:
  -----------
  [Driver] Properly report error for unsupported powerpc darwin/macos triples

The removal started at https://reviews.llvm.org/D50989 and
https://reviews.llvm.org/D75494 removed the Triple support. Without recognizing
Darwin triples as Mach-O, we will get assertion error in ToolChains/Darwin.h due
to the universal binary mechanism.

Fix #47698




More information about the All-commits mailing list