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 <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to