[clang] [HIP] Use complete toolchain in --offload-device-only (PR #205243)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 06:08:55 PDT 2026


================
@@ -302,6 +302,15 @@ Tool *HIPAMDToolChain::buildLinker() const {
   return new tools::AMDGCN::Linker(*this);
 }
 
+LTOKind HIPAMDToolChain::getLTOMode(const ArgList &Args,
----------------
jhuber6 wrote:

This fixes a regression so it should be merged and then rebased.

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


More information about the cfe-commits mailing list