[lldb-dev] SBType/SBValue determine kind

Greg Clayton gclayton at apple.com
Mon Oct 15 09:52:13 PDT 2012


You can call:

SBType
SBValue::GetType();

SBType will describe the type itself. We recently added an enumeration call:

lldb::BasicType
SBType::GetBasicType();

This will return an enumeration that describes your type if is is a basic type (see the lldb::BasicType enumeration definition for details). 


On Oct 15, 2012, at 6:18 AM, Carlo Kok <ck at remobjects.com> wrote:

> Given an SBValue (or it's type SBType) how do I find out what kind of type it is? (Like int32, int16, int8)
> 
> 
> _______________________________________________
> 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