[lldb-dev] patch to get function type (args/return type) from SBTyep

Greg Clayton gclayton at apple.com
Tue Oct 30 09:59:17 PDT 2012

I changed up the API a bit:

% svn commit source/API/SBType.cpp scripts/Python/interface/SBType.i include/lldb/API/SBType.h
Sending        include/lldb/API/SBType.h
Sending        scripts/Python/interface/SBType.i
Sending        source/API/SBType.cpp
Transmitting file data ...
Committed revision 167023.

The new SBType API added was changed to:

    SBType::IsFunctionType ();

    SBType::GetFunctionReturnType ();

    SBType::GetFunctionArgumentTypes ();

On Oct 30, 2012, at 1:31 AM, Carlo Kok <ck at remobjects.com> wrote:

> attached is a patch to get the function type information from an SBType. It's useful when using SBFunction to get the type and access the function type signature.
> <patch_to_getfunction_types.patch>_______________________________________________
> 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