[lld] r290231 - Fix build broken by changes in StringMatcher interface r290213
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 18:27:14 PST 2016
Author: vitalybuka
Date: Tue Dec 20 20:27:14 2016
New Revision: 290231
URL: http://llvm.org/viewvc/llvm-project?rev=290231&view=rev
Log:
Fix build broken by changes in StringMatcher interface r290213
Modified:
lld/trunk/ELF/LinkerScript.h
lld/trunk/ELF/SymbolTable.cpp
Modified: lld/trunk/ELF/LinkerScript.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.h?rev=290231&r1=290230&r2=290231&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.h (original)
+++ lld/trunk/ELF/LinkerScript.h Tue Dec 20 20:27:14 2016
@@ -144,7 +144,7 @@ struct SectionPattern {
struct InputSectionDescription : BaseCommand {
InputSectionDescription(StringRef FilePattern)
- : BaseCommand(InputSectionKind), FilePat({FilePattern}) {}
+ : BaseCommand(InputSectionKind), FilePat(FilePattern) {}
static bool classof(const BaseCommand *C);
Modified: lld/trunk/ELF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.cpp?rev=290231&r1=290230&r2=290231&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.cpp (original)
+++ lld/trunk/ELF/SymbolTable.cpp Tue Dec 20 20:27:14 2016
@@ -586,7 +586,7 @@ template <class ELFT>
std::vector<SymbolBody *>
SymbolTable<ELFT>::findAllByVersion(SymbolVersion Ver) {
std::vector<SymbolBody *> Res;
- StringMatcher M({Ver.Name});
+ StringMatcher M(Ver.Name);
if (Ver.IsExternCpp) {
initDemangledSyms();
More information about the llvm-commits
mailing list