[clang] [Clang] Forward arguments to the device compiler better (PR #125957)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 6 08:03:00 PST 2025


================
@@ -9270,11 +9260,6 @@ void LinkerWrapper::ConstructJob(Compilation &C, const JobAction &JA,
     });
   }
 
-  // If we disable the GPU C library support it needs to be forwarded to the
-  // link job.
-  if (!Args.hasFlag(options::OPT_gpulibc, options::OPT_nogpulibc, true))
----------------
sarnex wrote:

i dont see these options in either of the new option sets, is this code not needed anymore or is it handled somewhere else already?

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


More information about the cfe-commits mailing list