1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Fix build after 09158252f777c2e2f06a86b154c44abcbcf9bb74

This commit is contained in:
Alexandre Ganea 2020-03-27 11:22:51 -04:00
parent 32d7aaebc9
commit 105afff4cd

View File

@ -274,7 +274,7 @@ namespace options {
StringRef Num(opt_ + 5);
if (!get_threadpool_strategy(Num))
message(LDPL_FATAL, "Invalid parallelism level: %s", Num.data());
Parallelism = Num;
Parallelism = Num.str();
} else if (opt.startswith("lto-partitions=")) {
if (opt.substr(strlen("lto-partitions="))
.getAsInteger(10, ParallelCodeGenParallelismLevel))