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

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 03:24:45 PDT 2026


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

Shouldn't put anything in HIPAMDToolChain, I am trying to remove it in #204863

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


More information about the cfe-commits mailing list