[all-commits] [llvm/llvm-project] bf8fe1: Fix clang driver tests for cspgo in lld

Ellis Hoag via All-commits all-commits at lists.llvm.org
Wed May 31 18:23:17 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf8fe1c38f1031c88c80e0e86ffea4375e7693ff
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M clang/test/Driver/cspgo-lto.c

  Log Message:
  Fix clang driver tests for cspgo in lld

The tests introduced by https://reviews.llvm.org/D151589 were failing
because I guess some test platforms don't have `lld`. Similar tests add
`-B%S/Inputs/lld` to the clang commands so lets try this here to fix the

clang: error: invalid linker name in argument '-fuse-ld=lld'

More information about the All-commits mailing list