[all-commits] [llvm/llvm-project] d6efc9: Reland "[clang][Driver] Correct tool search path p...

David Spickett via All-commits all-commits at lists.llvm.org
Thu Jun 25 01:35:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d6efc9811646edbfe13f06c2676fb469f1c155b1
      https://github.com/llvm/llvm-project/commit/d6efc9811646edbfe13f06c2676fb469f1c155b1
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

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

  Log Message:
  -----------
  Reland "[clang][Driver] Correct tool search path priority"

This reverts commit f570d5810485fa6fb2e1009f795a899d79bd429f.

The test was failing on MacOS if you set
LLVM_DEFAULT_TARGET_TRIPLE. For example if you set it to
"x86_64-apple-darwin" clang actually uses
"x86_64-apple-darwin<version>".

To fix this get default triple from clang itself during the
test instead of substituting it in via lit.




More information about the All-commits mailing list