Home
last modified time | relevance | path

Searched refs:NameOrPattern (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/
H A DCommonConfig.cpp15 Expected<NameOrPattern> in create()
16 NameOrPattern::create(StringRef Pattern, MatchStyle MS, in create()
20 return NameOrPattern(Pattern); in create()
34 return NameOrPattern(std::make_shared<GlobPattern>(*GlobOrErr), in create()
45 return NameOrPattern(std::make_shared<Regex>( in create()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h92 class NameOrPattern {
99 NameOrPattern(StringRef N) : Name(N) {} in NameOrPattern() function
100 NameOrPattern(std::shared_ptr<Regex> R) : R(R) {} in NameOrPattern() function
101 NameOrPattern(std::shared_ptr<GlobPattern> G, bool IsPositiveMatch) in NameOrPattern() function
107 static Expected<NameOrPattern>
127 SmallVector<NameOrPattern, 0> PosPatterns;
128 SmallVector<NameOrPattern, 0> NegMatchers;
131 Error addMatcher(Expected<NameOrPattern> Matcher) { in addMatcher()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp363 if (Error E = Symbols.addMatcher(NameOrPattern::create( in addSymbolsFromFile()
804 NameOrPattern::create(Fields[0], SectionMatchStyle, ErrorCallback); in parseObjcopyOptions()
946 if (Error E = Config.ToRemove.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
950 if (Error E = Config.KeepSection.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
954 if (Error E = Config.OnlySection.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
1007 if (Error E = Config.SymbolsToLocalize.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
1016 if (Error E = Config.SymbolsToKeepGlobal.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
1025 if (Error E = Config.SymbolsToGlobalize.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
1034 if (Error E = Config.SymbolsToWeaken.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
1043 if (Error E = Config.SymbolsToRemove.addMatcher(NameOrPattern::create( in parseObjcopyOptions()
[all …]