Fix build broken by changes in StringMatcher interface r290213
llvm-svn: 290231
This commit is contained in:
parent
f4dd5e3586
commit
0b7de06a23
|
@ -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);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue