[clang] [HIP] Use linker wrapper for device-only code object links (PR #211675)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 14:47:53 PDT 2026


yxsamliu wrote:

@jhuber6 Re: device-only linker path

The smaller fix in `constructLldCommand` would handle the profile runtime case, but it would still leave device-only code object linking on a separate path.

The other issue this patch is trying to fix is that device-only multi-arch links do not go through the packager/linker-wrapper pipeline today, so they also miss the normal `--offload-jobs` parallelization. This patch unifies that path, and the profile runtime case is one symptom of the same split.

https://github.com/llvm/llvm-project/pull/211675


More information about the cfe-commits mailing list