[lldb-dev] SBType::GetNumberOfMemberFunctions

jingham at apple.com jingham at apple.com
Fri Sep 19 09:35:26 PDT 2014


You also need to catch the category methods, "\[MyClass(SomeCategory) .*\]".

Jim

> On Sep 19, 2014, at 9:19 AM, Carlo Kok <ck at remobjects.com> wrote:
> 
> On Fri, 19 Sep 2014 17:55:44 +0200, Enrico Granata <egranata at apple.com> wrote:
> 
>> It is currently not implemented for objective-c, so the short-term answer is that 0 is the expected output
>> 
>> There are some quirks with the way ObjC method types are handled in clang that I didn't have time to sort out, so I just didn't fill in the blanks there.
>> 
>> If you need this functionality, feel free to work on a patch of course!
> 
> 
> Thanks,
> 
> yeah after some deep stepping into this I saw that, but as an earlier thread specified ther'es no debug info at all for selectors on a type itself. Seems my best bet would be exposing a FindGlobalFunctions that takes a regex and look for "?[MyClass .*\]" methods.
> 
> -- 
> Carlo Kok
> RemObjects Software
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list