Fix clang driver tests for cspgo in lld
authorEllis Hoag <ellis.sparky.hoag@gmail.com>
Thu, 1 Jun 2023 01:16:08 +0000 (18:16 -0700)
committerEllis Hoag <ellis.sparky.hoag@gmail.com>
Thu, 1 Jun 2023 01:21:41 +0000 (18:21 -0700)
commitbf8fe1c38f1031c88c80e0e86ffea4375e7693ff
treecab7a32007a08cf9e71f5e27499c0b873e586012
parent7eebfddffc1138b20e0746cfa23bee19299865d7
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
tests.

```
clang: error: invalid linker name in argument '-fuse-ld=lld'
```
clang/test/Driver/cspgo-lto.c