[clang] [llvm] [SYCL] Add clang-linker-wrapper changes to call clang-sycl-linker for SYCL offloads (PR #135683)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 16 10:59:47 PDT 2025
================
@@ -988,6 +1038,11 @@ Expected<SmallVector<StringRef>> linkAndWrapDeviceFiles(
A.StringData["arch"] > B.StringData["arch"] ||
A.TheOffloadKind < B.TheOffloadKind;
});
+ if (Kind == OFK_SYCL) {
+ // TODO: Update once SYCL offload wrapping logic is available.
----------------
jhuber6 wrote:
I really need to make the offload wrapping a standalone tool so users can do it themselves. Normally I'd suggest landing that first, but since the tests for it rely on the linker wrapper, kind of hard. I guess it's fine to just let this error for now.
https://github.com/llvm/llvm-project/pull/135683
More information about the cfe-commits
mailing list