[Lldb-commits] [PATCH] find global by regex in SBTarget

jingham at apple.com jingham at apple.com
Fri Sep 19 09:25:54 PDT 2014


You can't do it this way, because it changes a public API, which we promised not to do.  You have to add an API instead.  Given that, maybe we want to add an enum to specify the textual match type, analogous to the search type for FindSymbols, so you could do "starts with", "regexp", etc?

Jim




> On Sep 19, 2014, at 8:00 AM, Carlo Kok <ck at remobjects.com> wrote:
> 
> This adds a default parameter to FindGlobalVariables that if true returns the matches by regex instead of name, so we can find globals starting with a given name.
> 
> -- 
> Carlo Kok
> RemObjects Software<lldb-find-global-by-regex.patch>_______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits




More information about the lldb-commits mailing list