[lld] r241746 - Update for upcoming llvm change.
Rafael Espindola
rafael.espindola at gmail.com
Wed Jul 8 15:14:36 PDT 2015
Author: rafael
Date: Wed Jul 8 17:14:36 2015
New Revision: 241746
URL: http://llvm.org/viewvc/llvm-project?rev=241746&view=rev
Log:
Update for upcoming llvm change.
Modified:
lld/trunk/lib/ReaderWriter/FileArchive.cpp
Modified: lld/trunk/lib/ReaderWriter/FileArchive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/FileArchive.cpp?rev=241746&r1=241745&r2=241746&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/FileArchive.cpp (original)
+++ lld/trunk/lib/ReaderWriter/FileArchive.cpp Wed Jul 8 17:14:36 2015
@@ -236,7 +236,7 @@ private:
"FileArchive",
llvm::dbgs() << llvm::format("0x%08llX ", member->getBuffer().data())
<< "'" << name << "'\n");
- _symbolMemberMap[name] = member;
+ _symbolMemberMap.insert(std::make_pair(name, member));
}
return std::error_code();
}
More information about the llvm-commits
mailing list