Skip to content

Commit d3a2ee8

Browse files
committed
Review comments
1 parent 26bc21f commit d3a2ee8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9476,9 +9476,8 @@ void LinkerWrapper::ConstructJob(Compilation &C, const JobAction &JA,
94769476
}
94779477

94789478
if (!OOpt.empty() && OOpt != "0") {
9479-
CmdArgs.push_back(Args.MakeArgString(
9480-
"--device-linker=" + TC->getTripleString() +
9481-
"=--lto-newpm-passes=default<O" + OOpt + ">"));
9479+
LinkerArgs.push_back(
9480+
Args.MakeArgString("--lto-newpm-passes=default<O" + OOpt + ">"));
94829481
}
94839482
}
94849483

0 commit comments

Comments
 (0)