lamb-j added a comment. Is void amdgpu::Linker::ConstructJob() constructing a job for the host linker or the device linker? Or both?
> The `-Wl` and `-Xlinker` options are intended for the host linker and we > intentionally do not pass them to the device linker. In the example I'm testing, both -Wl and -Xlinker result in a forwarded option to the lld invocation. However, when testing with `-Xoffload-linker` , I just get the following: warning: argument unused during compilation: '-Xoffload-linker --unresolved-symbols=ignore-all' [-Wunused-command-line-argument] Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158582/new/ https://reviews.llvm.org/D158582 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits