[Lldb-commits] [PATCH] D39436: Add regex support to file (-f) and module (-s) breakpoint options.

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 1 17:32:32 PDT 2017


labath added a comment.

In case there isn't enough people disagreeing, I'd like to say that I also think this does not belong in FileSpec. If for nothing else, then for the FileSpec::Equal implementation: the semantics of the IsEqual method are complicated enough to follow even without having regexes. Now it seems that in case of regexes the meaning of a == b and b == a is completely different. Also, what are you going to do if both FileSpecs are regexes? What if one of them is a *case-insensitive* regex, while the other is a regular one? ...


https://reviews.llvm.org/D39436





More information about the lldb-commits mailing list