Author: Joseph Huber Date: 2023-01-12T19:57:34-06:00 New Revision: 77d81d593cb93d275794edf66caf0daa8d102d5f
URL: https://github.com/llvm/llvm-project/commit/77d81d593cb93d275794edf66caf0daa8d102d5f DIFF: https://github.com/llvm/llvm-project/commit/77d81d593cb93d275794edf66caf0daa8d102d5f.diff LOG: [LinkerWrapper] Fix test on Windows Summary: `clang` is called `clang.exe` on windows, we need to glob the text inbetween. Added: Modified: clang/test/Driver/linker-wrapper.c Removed: ################################################################################ diff --git a/clang/test/Driver/linker-wrapper.c b/clang/test/Driver/linker-wrapper.c index 08ccadd2d72b8..1d984e49b7ffe 100644 --- a/clang/test/Driver/linker-wrapper.c +++ b/clang/test/Driver/linker-wrapper.c @@ -58,7 +58,7 @@ // RUN: clang-linker-wrapper --host-triple=x86_64-unknown-linux-gnu --dry-run --save-temps -O2 \ // RUN: --linker-path=/usr/bin/ld -- %t.o -o a.out 2>&1 | FileCheck %s --check-prefix=AMDGPU-LTO-TEMPS -// AMDGPU-LTO-TEMPS: clang" -o [[OBJ:.+]] -fPIC -c --target=amdgcn-amd-amdhsa -O2 -mcpu=gfx1030 {{.*}}.s +// AMDGPU-LTO-TEMPS: clang{{.*}}-o [[OBJ:.+]] -fPIC -c --target=amdgcn-amd-amdhsa -O2 -mcpu=gfx1030 {{.*}}.s // AMDGPU-LTO-TEMPS: lld{{.*}}-flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx1030 -o {{.*}}.img {{.*}}.o // RUN: clang-offload-packager -o %t.out \ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits