[llvm] fabe7e3 - [llvm][gold] Fix syntax error (#111412)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 10:56:55 PDT 2024
Author: Paul Kirth
Date: 2024-10-07T10:56:52-07:00
New Revision: fabe7e39df624c09d399f5f61d5450c2021c2357
URL: https://github.com/llvm/llvm-project/commit/fabe7e39df624c09d399f5f61d5450c2021c2357
DIFF: https://github.com/llvm/llvm-project/commit/fabe7e39df624c09d399f5f61d5450c2021c2357.diff
LOG: [llvm][gold] Fix syntax error (#111412)
This seems to have been overlooked in #109847, probably because most
bots don't build w/ gold enabled.
Added:
Modified:
llvm/tools/gold/gold-plugin.cpp
Removed:
################################################################################
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,
More information about the llvm-commits
mailing list