[llvm] Fix compile errors in gold plugin (PR #111402)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 10:38:49 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lto
Author: Nuri Amari (NuriAmari)
<details>
<summary>Changes</summary>
https://github.com/llvm/llvm-project/pull/109847 inadvertently introduced compile errors to the gold plugin. This PR fixes the issue.
---
Full diff: https://github.com/llvm/llvm-project/pull/111402.diff
1 Files Affected:
- (modified) llvm/tools/gold/gold-plugin.cpp (+1-1)
``````````diff
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 9304bd4188d9ed..6d0021c85f20fb 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -899,7 +899,7 @@ static std::unique_ptr<LTO> createLTO(IndexWriteCallback OnIndexWrite,
std::string OldPrefix, NewPrefix;
getThinLTOOldAndNewPrefix(OldPrefix, NewPrefix);
Backend = createWriteIndexesThinBackend(
- llvm::hardware_concurrency(options::Parallelism) OldPrefix, NewPrefix,
+ llvm::hardware_concurrency(options::Parallelism), OldPrefix, NewPrefix,
// TODO: Add support for optional native object path in
// thinlto_prefix_replace option to match lld.
/*NativeObjectPrefix=*/"", options::thinlto_emit_imports_files,
``````````
</details>
https://github.com/llvm/llvm-project/pull/111402
More information about the llvm-commits
mailing list