[clang] Match .exe on Windows (PR #128894)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 07:46:13 PST 2025


https://github.com/llvm-beanz created https://github.com/llvm/llvm-project/pull/128894

If you have zlib (not standard) on Windows, this test runs, and it was missing a match for the file extension on lld.

>From da4f0de19daaed0a30b3dfe985e6920e89a07c7d Mon Sep 17 00:00:00 2001
From: Chris B <cbieneman at microsoft.com>
Date: Wed, 26 Feb 2025 09:44:47 -0600
Subject: [PATCH] Match .exe on Windows

If you have zlib (not standard) on Windows, this test runs, and it was
missing a match for the file extension on lld.
---
 clang/test/Driver/hip-gz-options.hip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/Driver/hip-gz-options.hip b/clang/test/Driver/hip-gz-options.hip
index 7425d5fa847b3..bdef24e052ffb 100644
--- a/clang/test/Driver/hip-gz-options.hip
+++ b/clang/test/Driver/hip-gz-options.hip
@@ -9,6 +9,6 @@
 // RUN:   -ggdb -gz=zlib 2>&1 | FileCheck %s
 
 // CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
-// CHECK-DAG: {{".*lld" .* "--compress-debug-sections=zlib"}}
+// CHECK-DAG: {{".*lld.*" .* "--compress-debug-sections=zlib"}}
 // CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
 // CHECK: "--compress-debug-sections=zlib"



More information about the cfe-commits mailing list