summaryrefslogtreecommitdiffstats
path: root/tools/gold
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-06-03 20:46:32 +0000
committerTeresa Johnson <tejohnson@google.com>2016-06-03 20:46:32 +0000
commitca03c97596073b1377f1f43357999ffa5b5ac44f (patch)
tree4160a49c642756c2662e20025e6527ab78ef72b7 /tools/gold
parentf22c11f6fbfab39d385bef8129d23302cb502593 (diff)
[ThinLTO/gold] Pass import lists by reference (NFC)
In my earlier patch r271690 I missed passing a map by reference in one place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold')
-rw-r--r--tools/gold/gold-plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp
index bdacf0d209f8..9144e2bbc450 100644
--- a/tools/gold/gold-plugin.cpp
+++ b/tools/gold/gold-plugin.cpp
@@ -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());