|
LLDB mainline
|
#include <SBType.h>
Protected Member Functions | |
| lldb_private::TypeImpl & | ref () |
| const lldb_private::TypeImpl & | ref () const |
| lldb::TypeImplSP | GetSP () |
| void | SetSP (const lldb::TypeImplSP &type_impl_sp) |
| SBType (const lldb_private::CompilerType &) | |
| SBType (const lldb::TypeSP &) | |
| SBType (const lldb::TypeImplSP &) | |
Protected Attributes | |
| lldb::TypeImplSP | m_opaque_sp |
Friends | |
| class | SBFunction |
| class | SBModule |
| class | SBTarget |
| class | SBTypeEnumMember |
| class | SBTypeEnumMemberList |
| class | SBTypeNameSpecifier |
| class | SBTypeMember |
| class | SBTypeMemberFunction |
| class | SBTypeStaticField |
| class | SBTypeList |
| class | SBValue |
| class | SBWatchpoint |
| class | lldb_private::python::SWIGBridge |
| SBType::SBType | ( | ) |
Definition at line 37 of file SBType.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by FindDirectNestedType(), GetArrayElementType(), GetArrayType(), GetBasicType(), GetCanonicalType(), GetDereferencedType(), GetEnumerationIntegerType(), GetFunctionArgumentTypes(), GetFunctionReturnType(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTemplateArgumentType(), GetTypedefedType(), GetUnqualifiedType(), GetVectorElementType(), operator!=(), operator=(), operator==(), and SBType().
| SBType::SBType | ( | const lldb::SBType & | rhs | ) |
Definition at line 47 of file SBType.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
|
default |
|
protected |
Definition at line 39 of file SBType.cpp.
References m_opaque_sp.
|
protected |
Definition at line 41 of file SBType.cpp.
References m_opaque_sp.
|
protected |
| SBType SBType::FindDirectNestedType | ( | const char * | name | ) |
Definition at line 737 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBType SBType::GetArrayElementType | ( | ) |
Definition at line 234 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBType SBType::GetArrayType | ( | uint64_t | size | ) |
Definition at line 243 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| lldb::BasicType SBType::GetBasicType | ( | ) |
Definition at line 457 of file SBType.cpp.
References lldb::eBasicTypeInvalid, IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| SBType SBType::GetBasicType | ( | lldb::BasicType | type | ) |
Definition at line 465 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| uint64_t SBType::GetByteAlign | ( | ) |
Definition at line 137 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| uint64_t SBType::GetByteSize | ( | ) |
Definition at line 127 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| uint64_t SBType::GetByteStride | ( | ) |
Return the distance in bytes between consecutive elements of this type when stored in contiguous storage, such as an array.
Returns 0 on error.
Definition at line 149 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| lldb::SBType SBType::GetCanonicalType | ( | ) |
Definition at line 439 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBType SBType::GetDereferencedType | ( | ) |
Definition at line 226 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| bool SBType::GetDescription | ( | lldb::SBStream & | description, |
| lldb::DescriptionLevel | description_level ) |
Definition at line 498 of file SBType.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
| SBTypeMember SBType::GetDirectBaseClassAtIndex | ( | uint32_t | idx | ) |
Definition at line 512 of file SBType.cpp.
References IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBTypeMember::reset(), and SBTypeMember.
| const char * SBType::GetDisplayTypeName | ( | ) |
Definition at line 641 of file SBType.cpp.
References lldb_private::StringPool::GetSystemPool(), lldb_private::StringPoolRef::Intern(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| SBType SBType::GetEnumerationIntegerType | ( | ) |
Definition at line 447 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBTypeEnumMemberList SBType::GetEnumMembers | ( | ) |
Definition at line 554 of file SBType.cpp.
References lldb::SBTypeEnumMemberList::Append(), lldb_private::CompilerType::ForEachEnumerator(), IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, SBTypeEnumMember, and SBTypeEnumMemberList.
| SBTypeMember SBType::GetFieldAtIndex | ( | uint32_t | idx | ) |
Definition at line 575 of file SBType.cpp.
References lldb_private::CompilerType::GetFieldAtIndex(), IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBTypeMember::reset(), SBTypeMember, and lldb_private::ConstString::SetCString().
| lldb::SBTypeList SBType::GetFunctionArgumentTypes | ( | ) |
Definition at line 325 of file SBType.cpp.
References lldb::SBTypeList::Append(), lldb_private::CompilerType::GetFunctionArgumentAtIndex(), lldb_private::CompilerType::GetNumberOfFunctionArguments(), IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, SBType(), and SBTypeList.
| lldb::SBType SBType::GetFunctionReturnType | ( | ) |
Definition at line 313 of file SBType.cpp.
References IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBType, and SBType().
| lldb::SBTypeMemberFunction SBType::GetMemberFunctionAtIndex | ( | uint32_t | idx | ) |
Definition at line 348 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBTypeMemberFunction::reset(), and SBTypeMemberFunction.
| lldb::SBModule SBType::GetModule | ( | ) |
Definition at line 622 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBModule::SetSP().
| const char * SBType::GetName | ( | ) |
Definition at line 633 of file SBType.cpp.
References lldb_private::StringPool::GetSystemPool(), lldb_private::StringPoolRef::Intern(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| uint32_t SBType::GetNumberOfDirectBaseClasses | ( | ) |
Definition at line 474 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| uint32_t SBType::GetNumberOfFields | ( | ) |
Definition at line 490 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| uint32_t SBType::GetNumberOfMemberFunctions | ( | ) |
Definition at line 339 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| uint32_t SBType::GetNumberOfTemplateArguments | ( | ) |
Definition at line 657 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| uint32_t SBType::GetNumberOfVirtualBaseClasses | ( | ) |
Definition at line 482 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| SBType SBType::GetPointeeType | ( | ) |
Definition at line 202 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBType SBType::GetPointerType | ( | ) |
Definition at line 193 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBType SBType::GetReferenceType | ( | ) |
Definition at line 210 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
|
protected |
Definition at line 83 of file SBType.cpp.
References m_opaque_sp.
Referenced by lldb::SBValue::Cast(), lldb::SBValue::CreateChildAtOffset(), lldb::SBTarget::CreateValueFromAddress(), lldb::SBValue::CreateValueFromAddress(), lldb::SBTarget::CreateValueFromData(), and lldb::SBValue::CreateValueFromData().
| SBTypeStaticField SBType::GetStaticFieldWithName | ( | const char * | name | ) |
Definition at line 544 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBTypeStaticField.
| lldb::TemplateArgumentKind SBType::GetTemplateArgumentKind | ( | uint32_t | idx | ) |
Return the TemplateArgumentKind of the template argument at index idx.
Variadic argument packs are automatically expanded.
Definition at line 692 of file SBType.cpp.
References lldb::eTemplateArgumentKindNull, IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by GetTemplateArgumentType(), and GetTemplateArgumentValue().
| lldb::SBType SBType::GetTemplateArgumentType | ( | uint32_t | idx | ) |
Definition at line 666 of file SBType.cpp.
References lldb::eTemplateArgumentKindIntegral, lldb::eTemplateArgumentKindType, GetTemplateArgumentKind(), IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| lldb::SBValue SBType::GetTemplateArgumentValue | ( | lldb::SBTarget | target, |
| uint32_t | idx ) |
Returns the value of the non-type template parameter at index idx.
If idx is out-of-bounds or the template parameter doesn't have a value, returns an empty SBValue.
This function will expand parameter packs.
Definition at line 701 of file SBType.cpp.
References lldb_private::ValueObject::CreateValueObjectFromData(), lldb::eTemplateArgumentKindIntegral, lldb::eTemplateArgumentKindStructuralValue, lldb::SBTarget::GetSP(), GetTemplateArgumentKind(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| lldb::TypeClass SBType::GetTypeClass | ( | ) |
Definition at line 649 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| SBType SBType::GetTypedefedType | ( | ) |
Definition at line 218 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| uint32_t SBType::GetTypeFlags | ( | ) |
Definition at line 614 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| lldb::SBType SBType::GetUnqualifiedType | ( | ) |
Definition at line 431 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBType SBType::GetVectorElementType | ( | ) |
Definition at line 252 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, SBType(), and SetSP().
| SBTypeMember SBType::GetVirtualBaseClassAtIndex | ( | uint32_t | idx | ) |
Definition at line 528 of file SBType.cpp.
References IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBTypeMember::reset(), and SBTypeMember.
| bool SBType::IsAggregateType | ( | ) |
Definition at line 305 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsAnonymousType | ( | ) |
Definition at line 289 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsArrayType | ( | ) |
Definition at line 168 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsFunctionType | ( | ) |
Definition at line 265 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsPointerType | ( | ) |
Definition at line 160 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsPolymorphicClass | ( | ) |
Definition at line 273 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsReferenceType | ( | ) |
Definition at line 185 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsScopedEnumerationType | ( | ) |
Definition at line 297 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsTypeComplete | ( | ) |
Definition at line 601 of file SBType.cpp.
References lldb_private::CompilerType::IsCompleteType(), lldb_private::CompilerType::IsForcefullyCompleted(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsTypedefType | ( | ) |
Definition at line 281 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::IsValid | ( | ) | const |
Definition at line 114 of file SBType.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBTypeList::Append(), lldb::SBValue::CreateChildAtOffset(), lldb::SBTarget::CreateValueFromAddress(), lldb::SBTarget::CreateValueFromData(), FindDirectNestedType(), GetArrayElementType(), GetArrayType(), GetBasicType(), GetBasicType(), GetByteAlign(), GetByteSize(), GetByteStride(), GetCanonicalType(), GetDereferencedType(), GetDirectBaseClassAtIndex(), GetDisplayTypeName(), GetEnumerationIntegerType(), GetEnumMembers(), GetFieldAtIndex(), GetFunctionArgumentTypes(), GetFunctionReturnType(), GetMemberFunctionAtIndex(), GetModule(), GetName(), GetNumberOfDirectBaseClasses(), GetNumberOfFields(), GetNumberOfMemberFunctions(), GetNumberOfTemplateArguments(), GetNumberOfVirtualBaseClasses(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetStaticFieldWithName(), GetTemplateArgumentKind(), GetTemplateArgumentType(), GetTemplateArgumentValue(), GetTypeClass(), GetTypedefedType(), GetTypeFlags(), GetUnqualifiedType(), GetVectorElementType(), GetVirtualBaseClassAtIndex(), IsAggregateType(), IsAnonymousType(), IsArrayType(), IsFunctionType(), IsPointerType(), IsPolymorphicClass(), IsReferenceType(), IsScopedEnumerationType(), IsTypeComplete(), IsTypedefType(), IsVectorType(), operator!=(), operator==(), and lldb::SBTypeNameSpecifier::SBTypeNameSpecifier().
| bool SBType::IsVectorType | ( | ) |
Definition at line 177 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
explicit |
Definition at line 118 of file SBType.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBType::operator!= | ( | lldb::SBType & | rhs | ) |
Definition at line 71 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| SBType & SBType::operator= | ( | const lldb::SBType & | rhs | ) |
Definition at line 89 of file SBType.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
| bool SBType::operator== | ( | lldb::SBType & | rhs | ) |
Definition at line 59 of file SBType.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, m_opaque_sp, and SBType().
|
protected |
Definition at line 100 of file SBType.cpp.
References m_opaque_sp.
Referenced by lldb::SBFunction::GetType().
|
protected |
Definition at line 106 of file SBType.cpp.
References m_opaque_sp.
|
protected |
Definition at line 85 of file SBType.cpp.
References m_opaque_sp.
Referenced by lldb::SBTypeMemberFunction::GetArgumentTypeAtIndex(), lldb::SBTypeMemberFunction::GetReturnType(), lldb::SBTypeEnumMember::GetType(), lldb::SBTypeMember::GetType(), lldb::SBTypeMemberFunction::GetType(), lldb::SBValue::GetType(), and GetVectorElementType().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 284 of file SBType.h.
References SBTypeEnumMember.
Referenced by GetEnumMembers(), and SBTypeEnumMember.
|
friend |
Definition at line 285 of file SBType.h.
References SBTypeEnumMemberList.
Referenced by GetEnumMembers(), and SBTypeEnumMemberList.
|
friend |
Definition at line 290 of file SBType.h.
References SBTypeList.
Referenced by GetFunctionArgumentTypes(), and SBTypeList.
|
friend |
Definition at line 287 of file SBType.h.
References SBTypeMember.
Referenced by GetDirectBaseClassAtIndex(), GetFieldAtIndex(), GetVirtualBaseClassAtIndex(), and SBTypeMember.
|
friend |
Definition at line 288 of file SBType.h.
References SBTypeMemberFunction.
Referenced by GetMemberFunctionAtIndex(), and SBTypeMemberFunction.
|
friend |
Definition at line 286 of file SBType.h.
References SBTypeNameSpecifier.
Referenced by SBTypeNameSpecifier.
|
friend |
Definition at line 289 of file SBType.h.
References SBTypeStaticField.
Referenced by GetStaticFieldWithName(), and SBTypeStaticField.
|
friend |
|
friend |
|
protected |
Definition at line 279 of file SBType.h.
Referenced by lldb::SBTypeList::Append(), FindDirectNestedType(), GetArrayElementType(), GetArrayType(), GetBasicType(), GetBasicType(), GetByteAlign(), GetByteSize(), GetByteStride(), GetCanonicalType(), GetDereferencedType(), GetDescription(), GetDirectBaseClassAtIndex(), GetDisplayTypeName(), GetEnumerationIntegerType(), GetEnumMembers(), GetFieldAtIndex(), GetFunctionArgumentTypes(), GetFunctionReturnType(), GetMemberFunctionAtIndex(), GetModule(), GetName(), GetNumberOfDirectBaseClasses(), GetNumberOfFields(), GetNumberOfMemberFunctions(), GetNumberOfTemplateArguments(), GetNumberOfVirtualBaseClasses(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetSP(), GetStaticFieldWithName(), GetTemplateArgumentKind(), GetTemplateArgumentType(), GetTemplateArgumentValue(), GetTypeClass(), GetTypedefedType(), GetTypeFlags(), GetUnqualifiedType(), GetVectorElementType(), GetVirtualBaseClassAtIndex(), IsAggregateType(), IsAnonymousType(), IsArrayType(), IsFunctionType(), IsPointerType(), IsPolymorphicClass(), IsReferenceType(), IsScopedEnumerationType(), IsTypeComplete(), IsTypedefType(), IsVectorType(), operator bool(), operator!=(), operator=(), operator==(), ref(), ref(), SBType(), SBType(), SBType(), lldb::SBTypeNameSpecifier::SBTypeNameSpecifier(), and SetSP().