From 71cfa8459eede1da14f8a42e981f790879e3551a Mon Sep 17 00:00:00 2001 From: Nuri Amari Date: Mon, 7 Oct 2024 09:32:24 -0700 Subject: [PATCH] Fix compile errors in gold plugin https://github.com/llvm/llvm-project/pull/109847 inadvertently introduced compile errors to the gold plugin. This PR fixes the issue. --- llvm/tools/gold/gold-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 9304bd4188d9e..6d0021c85f20f 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -899,7 +899,7 @@ static std::unique_ptr 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,