We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7f975 commit 4bc8882Copy full SHA for 4bc8882
llvm/tools/gold/gold-plugin.cpp
@@ -274,7 +274,7 @@ namespace options {
274
StringRef Num(opt_ + 5);
275
if (!get_threadpool_strategy(Num))
276
message(LDPL_FATAL, "Invalid parallelism level: %s", Num.data());
277
- Parallelism = Num;
+ Parallelism = Num.str();
278
} else if (opt.startswith("lto-partitions=")) {
279
if (opt.substr(strlen("lto-partitions="))
280
.getAsInteger(10, ParallelCodeGenParallelismLevel))
0 commit comments