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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 08:35:04 PDT 2026


================
@@ -617,8 +617,9 @@ class OffloadUnbundlingJobAction final : public JobAction {
   SmallVector<DependentActionInfo, 6> DependentActionInfoArray;
 
 public:
-  // Offloading unbundling doesn't change the type of output.
+  // Offloading unbundling usually doesn't change the type of output.
   OffloadUnbundlingJobAction(Action *Input);
+  OffloadUnbundlingJobAction(Action *Input, types::ID OutputType);
----------------
jhuber6 wrote:

Could we instead just make this one with a default argument? `types::ID OutputType = Whatever`.

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


More information about the cfe-commits mailing list