[all-commits] [llvm/llvm-project] 3452a0: [Driver] -B: don't search for target triple prefixes

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 18 20:26:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3452a0d8c17f7166f479706b293caf6ac76ffd90
      https://github.com/llvm/llvm-project/commit/3452a0d8c17f7166f479706b293caf6ac76ffd90
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-07-18 (Sat, 18 Jul 2020)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/B-opt.c
    R clang/test/Driver/Inputs/Windows/ARM/8.1/usr/bin/armv7-windows-itanium-ld
    A clang/test/Driver/Inputs/Windows/ARM/8.1/usr/bin/ld
    M clang/test/Driver/fuse-ld.c
    M clang/test/Driver/prefixed-tools.c
    M clang/test/Driver/program-path-priority.c
    M clang/test/Driver/windows-cross.c

  Log Message:
  -----------
  [Driver] -B: don't search for target triple prefixes

To match GCC (either crossing or not), which doesn't prepend target triple prefixes to `exec_prefixes`.

As an example, powerpc64le-linux-gnu-gcc does not search "powerpc64le-linux-gnu-${name}" in a -B path.




More information about the All-commits mailing list