[llvm] r271732 - [ThinLTO/gold] Pass import lists by reference (NFC)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 3 13:46:32 PDT 2016
Author: tejohnson
Date: Fri Jun 3 15:46:32 2016
New Revision: 271732
URL: http://llvm.org/viewvc/llvm-project?rev=271732&view=rev
Log:
[ThinLTO/gold] Pass import lists by reference (NFC)
In my earlier patch r271690 I missed passing a map by reference in one
place.
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=271732&r1=271731&r2=271732&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Fri Jun 3 15:46:32 2016
@@ -1199,7 +1199,7 @@ static void
thinLTOBackends(raw_fd_ostream *ApiFile,
const ModuleSummaryIndex &CombinedIndex,
StringMap<MemoryBufferRef> &ModuleMap,
- StringMap<FunctionImporter::ImportMapTy> ImportLists) {
+ StringMap<FunctionImporter::ImportMapTy> &ImportLists) {
unsigned TaskCount = 0;
std::vector<ThinLTOTaskInfo> Tasks;
Tasks.reserve(Modules.size());
More information about the llvm-commits
mailing list