llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-driver Author: Edd Dawson (playstation-edd) <details> <summary>Changes</summary> It's common in SIE development environments to have the PlayStation linkers on the %PATH%. In such cases, the driver will resolve the linker name to an existing executable, replete with ".exe" extension. Update recent modifications to clang/test/Driver/unified-lto.c to allow for this. --- Full diff: https://github.com/llvm/llvm-project/pull/101034.diff 1 Files Affected: - (modified) clang/test/Driver/unified-lto.c (+1-1) ``````````diff diff --git a/clang/test/Driver/unified-lto.c b/clang/test/Driver/unified-lto.c index 490aaca59939d..445ca0bbf14f1 100644 --- a/clang/test/Driver/unified-lto.c +++ b/clang/test/Driver/unified-lto.c @@ -27,7 +27,7 @@ // RUN: %clang --target=x86_64-sie-ps5 -### %s -fno-unified-lto -flto=full 2>&1 | FileCheck --check-prefixes=LD,NOLTO %s // RUN: %clang --target=x86_64-sie-ps5 -### %s -fno-unified-lto -flto=thin 2>&1 | FileCheck --check-prefixes=LD,NOLTO %s -// LD: {{.*ld}}" +// LD: {{.*ld(\.exe)?}}" // LTOFULL-SAME: "--lto=full" // LTOTHIN-SAME: "--lto=thin" // NOLTO-NOT: "--lto `````````` </details> https://github.com/llvm/llvm-project/pull/101034 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits