Author: Matt Arsenault Date: 2025-03-08T10:53:03+07:00 New Revision: 7602d781b03427052c44537fa4b9c2a6da15697c
URL: https://github.com/llvm/llvm-project/commit/7602d781b03427052c44537fa4b9c2a6da15697c DIFF: https://github.com/llvm/llvm-project/commit/7602d781b03427052c44537fa4b9c2a6da15697c.diff LOG: clang/HIP: Use regex for final path separator in hip-partial-link, again (#130371) Added: Modified: clang/test/Driver/hip-partial-link.hip Removed: ################################################################################ diff --git a/clang/test/Driver/hip-partial-link.hip b/clang/test/Driver/hip-partial-link.hip index 5c538556a5070..d1a57bbe1d75c 100644 --- a/clang/test/Driver/hip-partial-link.hip +++ b/clang/test/Driver/hip-partial-link.hip @@ -32,11 +32,11 @@ // LD-R: Found undefined HIP fatbin symbol: __hip_fatbin_[[ID2:[0-9a-f]+]] // LD-R: Found undefined HIP gpubin handle symbol: __hip_gpubin_handle_[[ID1]] // LD-R: Found undefined HIP gpubin handle symbol: __hip_gpubin_handle_[[ID2]] -// LD-R: "{{.*}}/clang-offload-bundler" {{.*}}-unbundle -// LD-R: "{{.*}}/lld" -flavor gnu -m elf64_amdgpu -// LD-R: "{{.*}}/clang-offload-bundler" -// LD-R: "{{.*}}/clang{{.*}}" -target x86_64-unknown-linux-gnu -// LD-R: "{{.*}}/ld.lld" {{.*}} -r +// LD-R: "{{.*[/\\]}}clang-offload-bundler" {{.*}}-unbundle +// LD-R: "{{.*[/\\]}}lld" -flavor gnu -m elf64_amdgpu +// LD-R: "{{.*[/\\]}}clang-offload-bundler" +// LD-R: "{{.*[/\\]}}clang{{.*}}" -target x86_64-unknown-linux-gnu +// LD-R: "{{.*[/\\]}}ld.lld" {{.*}} -r // RUN: llvm-nm %t.lib.o | FileCheck -check-prefix=OBJ %s // OBJ: B __hip_cuid_[[ID1:[0-9a-f]+]] _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits