Skip to content

Commit cd64ec3

Browse files
committed
[Darwin] Fix passing cilktool argument to LLD on macOS.
1 parent 7633a6c commit cd64ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/Darwin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ static void renderTapirLoweringOptions(const ArgList &Args,
579579

580580
if (const Arg *A = Args.getLastArg(options::OPT_fcilktool_EQ))
581581
CmdArgs.push_back(
582-
Args.MakeArgString(Twine("--plugin-opt=cilktool=") + A->getValue()));
582+
Args.MakeArgString(Twine("--cilktool=") + A->getValue()));
583583
}
584584

585585
static void AppendPlatformPrefix(SmallString<128> &Path, const llvm::Triple &T);

0 commit comments

Comments
 (0)