summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit4cafbdd4bda350605e481789267e4b6ff4dd21ad (patch)
tree7ebf0744b13b773f7f2eff3ec49bebb19ee74349 /llvm
parentd142050f3a5e097f7c4a4c76a13d66a8173a3337 (diff)
downloadbcm5719-llvm-4cafbdd4bda350605e481789267e4b6ff4dd21ad.tar.gz
bcm5719-llvm-4cafbdd4bda350605e481789267e4b6ff4dd21ad.zip
[ThinLTO/gold] Pass import lists by reference (NFC)
In my earlier patch r271690 I missed passing a map by reference in one place. llvm-svn: 271732
Diffstat (limited to 'llvm')
-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 bdacf0d209f..9144e2bbc45 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud