[Clang] Fix mispelled option passed to the linker wrapper
Summary: This option was spelled wrong and caused errors if used in combination with the linking job. Fix it.
This commit is contained in:
@@ -8395,7 +8395,7 @@ void LinkerWrapper::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
}
|
||||
|
||||
for (const auto &A : Args.getAllArgValues(options::OPT_Xcuda_ptxas))
|
||||
CmdArgs.push_back(Args.MakeArgString("--ptxas-args=" + A));
|
||||
CmdArgs.push_back(Args.MakeArgString("--ptxas-arg=" + A));
|
||||
|
||||
// Forward remarks passes to the LLVM backend in the wrapper.
|
||||
if (const Arg *A = Args.getLastArg(options::OPT_Rpass_EQ))
|
||||
|
||||
Reference in New Issue
Block a user