diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2020-03-27 11:22:51 -0400 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2020-03-27 11:23:11 -0400 |
commit | 4bc8882b89c143aba058947a8650e8a127a5dcff (patch) | |
tree | 093b0fb4a7a496e50bbd342cbdc608f5fea78a02 /llvm/tools/gold | |
parent | cd7f9751c30092033a5e97591876f972daf61989 (diff) | |
download | llvm-4bc8882b89c143aba058947a8650e8a127a5dcff.zip llvm-4bc8882b89c143aba058947a8650e8a127a5dcff.tar.gz llvm-4bc8882b89c143aba058947a8650e8a127a5dcff.tar.bz2 |
Fix build after 09158252f777c2e2f06a86b154c44abcbcf9bb74
Diffstat (limited to 'llvm/tools/gold')
-rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 383f972..6d2369f 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -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)) |