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

jingham at apple.com jingham at apple.com
Fri Sep 19 09:27:05 PDT 2014


Oh, by the way, you also have to add this API to the equivalent .i file (./scripts/Python/interface/SBTarget.i) or it won't show up in Python.

Jim

> On Sep 19, 2014, at 9:25 AM, jingham at apple.com wrote:
> 
> 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