After https://reviews.llvm.org/D98493 clang driver for *-msvc target
uses linker from CLANG_DEFAULT_LINKER instead of hard-coded "link.exe".
Update unit-tests that expect link.exe linker to explicitly select it
via -fuse-ld=link, so that buildbots and other builds that set
-DCLANG_DEFAULT_LINKER=foobar don't fail these tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hi,
Thanks for fixing the tests. I've tested this patch on the environment of clang-ppc64le-rhel (https://lab.llvm.org/buildbot/#/builders/57), and there seems to be two failures that still remain:
Failed Tests (2): Clang :: OpenMP/linking.c Clang :: Driver/msvc-link.c
OpenMP/linking.c fails on:
Exit Code: 1 Command Output (stderr): -- /home/docker/amy/llvm-project/clang/test/OpenMP/linking.c:106:25: error: CHECK-MSVC-ILINK-64: expected string not found in input // CHECK-MSVC-ILINK-64: link.exe
Driver/msvc-link.c fails on:
Exit Code: 1 Command Output (stderr): -- /home/docker/amy/llvm-project/clang/test/Driver/msvc-link.c:10:9: error: DLL: expected string not found in input // DLL: link.exe"