File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ class BinaryData {
107107 std::vector<MCSymbol *> &getSymbols () { return Symbols; }
108108
109109 bool hasName (StringRef Name) const ;
110- bool hasNameRegex (StringRef Name) const ;
111110 bool nameStartsWith (StringRef Prefix) const ;
112111
113112 bool hasSymbol (const MCSymbol *Symbol) const {
Original file line number Diff line number Diff line change @@ -55,14 +55,6 @@ bool BinaryData::hasName(StringRef Name) const {
5555 return false ;
5656}
5757
58- bool BinaryData::hasNameRegex (StringRef NameRegex) const {
59- Regex MatchName (NameRegex);
60- for (const MCSymbol *Symbol : Symbols)
61- if (MatchName.match (Symbol->getName ()))
62- return true ;
63- return false ;
64- }
65-
6658bool BinaryData::nameStartsWith (StringRef Prefix) const {
6759 for (const MCSymbol *Symbol : Symbols)
6860 if (Symbol->getName ().starts_with (Prefix))
You can’t perform that action at this time.
0 commit comments