[clang] [Clang][SYCL] Introduce clang-sycl-link-wrapper to link SYCL offloading device code (Part 1 of many) (PR #112245)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 15 15:02:59 PDT 2024
llvm-beanz wrote:
> The goal is to just have a tool that clang can use as a normal toolchain linker so we can reuse as much as possible when it comes to creating link jobs.
Clang can use `lld`, `llvm-ar`, and `dsymutil` (among others), so being part of Clang certainly isn't necessary for the clang driver to invoke it.
>We could stash this in `llvm/` and it wouldn't make much of a difference. Also we can probably just use the LLVM Linker API instead of `llvm-link`. Forgot to mention that as a to-do.
I'd be real interested to know if this should be part of `llvm-link` or `lld`. As a general rule we try not to accept streams of patches with big `TODO` markings to clean it all up after it lands.
https://github.com/llvm/llvm-project/pull/112245
More information about the cfe-commits
mailing list