projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5f746f
)
[Clang] Fix mispelled option passed to the linker wrapper
author
Joseph Huber
<jhuber6@vols.utk.edu>
Sat, 7 Jan 2023 02:02:23 +0000
(20:02 -0600)
committer
Joseph Huber
<jhuber6@vols.utk.edu>
Sat, 7 Jan 2023 02:02:23 +0000
(20:02 -0600)
Summary:
This option was spelled wrong and caused errors if used in combination
with the linking job. Fix it.
clang/lib/Driver/ToolChains/Clang.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChains/Clang.cpp
b/clang/lib/Driver/ToolChains/Clang.cpp
index
e407d65
..
3cbffef
100644
(file)
--- a/
clang/lib/Driver/ToolChains/Clang.cpp
+++ b/
clang/lib/Driver/ToolChains/Clang.cpp
@@
-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-arg
s
=" + 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))