diff options
| author | Rui Ueyama <ruiu@google.com> | 2014-04-24 22:57:17 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2014-04-24 22:57:17 +0000 |
| commit | ae13a45d4d52f280863588cb925c46ac8d2c9db0 (patch) | |
| tree | 392660be55f3fd7469cc07392f46f410821055eb /lld/lib | |
| parent | 7682f812663d6479f345b0d7cb79cfd6b7d55196 (diff) | |
| download | bcm5719-llvm-ae13a45d4d52f280863588cb925c46ac8d2c9db0.tar.gz bcm5719-llvm-ae13a45d4d52f280863588cb925c46ac8d2c9db0.zip | |
[PECOFF] Do not copy-construct ExportDesc.
llvm-svn: 207154
Diffstat (limited to 'lld/lib')
| -rw-r--r-- | lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h b/lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h index 5b9464ba644..77a026f5b03 100644 --- a/lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h +++ b/lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h @@ -42,7 +42,7 @@ public: addAtom(_imageBaseAtom); // Create implciit symbols for exported symbols. - for (const PECOFFLinkingContext::ExportDesc exp : ctx.getDllExports()) { + for (const PECOFFLinkingContext::ExportDesc &exp : ctx.getDllExports()) { UndefinedAtom *target = new (_alloc) SimpleUndefinedAtom(*this, exp.name); COFFLinkerInternalAtom *imp = createImpPointerAtom(ctx, exp.name); imp->addReference(std::unique_ptr<COFFReference>( |

