================
@@ -57,7 +57,15 @@ __attribute__((visibility("protected"), used)) int x;
// RUN: clang-linker-wrapper --host-triple=x86_64-unknown-linux-gnu --dry-run \
// RUN: --linker-path=/usr/bin/ld %t.o -o a.out 2>&1 | FileCheck %s
--check-prefix=SPIRV-LINK
-// SPIRV-LINK: clang{{.*}} -o {{.*}}.img -dumpdir a.out.spirv64..img.
--target=spirv64-unknown-unknown {{.*}}.o --sycl-link -Xlinker
-triple=spirv64-unknown-unknown -Xlinker -arch=
+// SPIRV-LINK: clang{{.*}} -o {{.*}}.img -dumpdir a.out.spirv64..img.
--target=spirv64-unknown-unknown {{.*}}.o --sycl-link{{$}}
----------------
bader wrote:
Consider removing this check - it looks like a duplicate of the check you
modified
`clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper-verbose.c`.
https://github.com/llvm/llvm-project/pull/217492
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits