[clang] [LinkerWrapper] Clean up options after proper forwarding (PR #126297)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 7 11:59:09 PST 2025


================
@@ -9223,6 +9223,8 @@ void LinkerWrapper::ConstructJob(Compilation &C, const JobAction &JA,
       Args.MakeArgString("--host-triple=" + getToolChain().getTripleString()));
   if (Args.hasArg(options::OPT_v))
     CmdArgs.push_back("--wrapper-verbose");
+  if (Arg *A = Args.getLastArg(options::OPT_cuda_path_EQ))
----------------
sarnex wrote:

thanks, makes sense

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


More information about the cfe-commits mailing list