1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[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
This commit is contained in:
Teresa Johnson 2016-06-03 20:46:32 +00:00
parent 553eb9ed8a
commit 59dbfa4dcd

View File

@ -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());