================
@@ -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:

i see this is already in the `CompilerOptions` set above, do we need this 
explicit handling because `--cuda-path` is a `clang-linker-wrapper` option as 
well as a clang one? 

if so, is there an easy way we could remove one of the two?

https://github.com/llvm/llvm-project/pull/126297
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to