diff options
author | Fangrui Song <i@maskray.me> | 2022-01-31 16:46:11 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-01-31 16:46:11 -0800 |
commit | 7aaf024dac719d6cc73e15074ec8c9ad804229ad (patch) | |
tree | d17975319dbe50474ddd3eff6a54c9e0e0ef1d69 /llvm/tools/gold | |
parent | 85dfe19b36ba6e9657612e072c9183ce168fdbbc (diff) | |
download | llvm-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.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 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) { |