[all-commits] [llvm/llvm-project] 8ac5e4: [Driver] Drop $DEFAULT_TRIPLE-$name as a fallback ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Apr 7 21:01:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ac5e440615dd3dc9fd2eb88c0bad32fdc5f678c
      https://github.com/llvm/llvm-project/commit/8ac5e440615dd3dc9fd2eb88c0bad32fdc5f678c
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/program-path-priority.c

  Log Message:
  -----------
  [Driver] Drop $DEFAULT_TRIPLE-$name as a fallback program name

D13340 introduced this behavior which is not needed even for mips.
This was raised on https://lists.llvm.org/pipermail/cfe-dev/2020-May/065437.html
but no action was taken.

This was raised again in https://lists.llvm.org/pipermail/cfe-dev/2021-April/067974.html
"The LLVM host/target TRIPLE padding drama on Debian"
as it caused confusion. This patch drops the behavior.

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




More information about the All-commits mailing list