aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/gold
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-01-31 16:46:11 -0800
committerFangrui Song <i@maskray.me>2022-01-31 16:46:11 -0800
commit7aaf024dac719d6cc73e15074ec8c9ad804229ad (patch)
treed17975319dbe50474ddd3eff6a54c9e0e0ef1d69 /llvm/tools/gold
parent85dfe19b36ba6e9657612e072c9183ce168fdbbc (diff)
downloadllvm-7aaf024dac719d6cc73e15074ec8c9ad804229ad.zip
llvm-7aaf024dac719d6cc73e15074ec8c9ad804229ad.tar.gz
llvm-7aaf024dac719d6cc73e15074ec8c9ad804229ad.tar.bz2
[BitcodeWriter] Fix cases of some functions
`WriteIndexToFile` is used by external projects so I do not touch it.
Diffstat (limited to 'llvm/tools/gold')
-rw-r--r--llvm/tools/gold/gold-plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 8d35dfe..180c181 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -995,7 +995,7 @@ static void writeEmptyDistributedBuildOutputs(const std::string &ModulePath,
if (SkipModule) {
ModuleSummaryIndex Index(/*HaveGVs*/ false);
Index.setSkipModuleByDistributedBackend();
- WriteIndexToFile(Index, OS, nullptr);
+ writeIndexToFile(Index, OS, nullptr);
}
}
if (options::thinlto_emit_imports_files) {