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

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 11 18:54:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bdf5aa5dffffebf6e3b1afe588db990ca58e55c
      https://github.com/llvm/llvm-project/commit/2bdf5aa5dffffebf6e3b1afe588db990ca58e55c
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-09-11 (Mon, 11 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

---

This requires fixing many misuses of llc -march= and llvm-mc -arch= (
commits 806761a7629df268c8aed49657aeccffa6bca449 and 252c42354eca54274ed7b10c32c73c6937478e8b).




More information about the All-commits mailing list