From 3c849f6a06264919dd31257bebc22e73a39db6ce Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 25 Dec 2013 07:28:34 +0000 Subject: [PATCH] Unbreak buildbot. llvm-svn: 198002 --- lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp b/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp index 55552c1ed16c..ff3236c056d6 100644 --- a/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp +++ b/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp @@ -264,7 +264,7 @@ void PECOFFLinkingContext::addDllExport(ExportDesc &desc) { return; } _dllExports.push_back(desc); - _dllExportSet.insert(desc.name); + _dllExportSet.insert(_dllExports.back().name); } void PECOFFLinkingContext::addPasses(PassManager &pm) {