LLDB mainline
|
#include <Type.h>
Private Member Functions | |
bool | CheckModule (lldb::ModuleSP &module_sp) const |
bool | CheckExeModule (lldb::ModuleSP &module_sp) const |
bool | CheckModuleCommon (const lldb::ModuleWP &input_module_wp, lldb::ModuleSP &module_sp) const |
Private Attributes | |
lldb::ModuleWP | m_module_wp |
lldb::ModuleWP | m_exe_module_wp |
CompilerType | m_static_type |
CompilerType | m_dynamic_type |
|
default |
|
default |
TypeImpl::TypeImpl | ( | const lldb::TypeSP & | type_sp | ) |
TypeImpl::TypeImpl | ( | const CompilerType & | compiler_type | ) |
TypeImpl::TypeImpl | ( | const lldb::TypeSP & | type_sp, |
const CompilerType & | dynamic | ||
) |
TypeImpl::TypeImpl | ( | const CompilerType & | compiler_type, |
const CompilerType & | dynamic | ||
) |
|
private |
Definition at line 961 of file Type.cpp.
References CheckModuleCommon(), and m_exe_module_wp.
Referenced by GetModule().
|
private |
Definition at line 957 of file Type.cpp.
References CheckModuleCommon(), and m_module_wp.
Referenced by GetCanonicalType(), GetCompilerType(), GetDereferencedType(), GetDescription(), GetDisplayTypeName(), GetName(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTypedefedType(), GetTypeSystem(), GetUnqualifiedType(), and IsValid().
|
private |
Definition at line 965 of file Type.cpp.
Referenced by CheckExeModule(), and CheckModule().
void TypeImpl::Clear | ( | ) |
Definition at line 1013 of file Type.cpp.
References lldb_private::CompilerType::Clear(), m_dynamic_type, m_module_wp, and m_static_type.
Referenced by lldb_private::ValueObjectDynamicValue::UpdateValue().
CompilerType TypeImpl::FindDirectNestedType | ( | llvm::StringRef | name | ) |
Definition at line 1170 of file Type.cpp.
References GetCompilerType(), and lldb_private::CompilerType::GetDirectNestedTypeWithName().
TypeImpl TypeImpl::GetCanonicalType | ( | ) | const |
Definition at line 1118 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetCanonicalType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
CompilerType TypeImpl::GetCompilerType | ( | bool | prefer_dynamic | ) |
Definition at line 1130 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::IsValid(), m_dynamic_type, and m_static_type.
Referenced by FindDirectNestedType().
TypeImpl TypeImpl::GetDereferencedType | ( | ) | const |
Definition at line 1094 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetNonReferenceType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
bool TypeImpl::GetDescription | ( | lldb_private::Stream & | strm, |
lldb::DescriptionLevel | description_level | ||
) |
Definition at line 1154 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::DumpTypeDescription(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
ConstString TypeImpl::GetDisplayTypeName | ( | ) | const |
Definition at line 1036 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetDisplayTypeName(), m_dynamic_type, and m_static_type.
ModuleSP TypeImpl::GetModule | ( | ) | const |
Definition at line 1019 of file Type.cpp.
References CheckExeModule().
ConstString TypeImpl::GetName | ( | ) | const |
Definition at line 1026 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetTypeName(), m_dynamic_type, and m_static_type.
TypeImpl TypeImpl::GetPointeeType | ( | ) | const |
Definition at line 1058 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetPointeeType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
TypeImpl TypeImpl::GetPointerType | ( | ) | const |
Definition at line 1046 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetPointerType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
TypeImpl TypeImpl::GetReferenceType | ( | ) | const |
Definition at line 1070 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetLValueReferenceType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
TypeImpl TypeImpl::GetTypedefedType | ( | ) | const |
Definition at line 1082 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetTypedefedType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
CompilerType::TypeSystemSPWrapper TypeImpl::GetTypeSystem | ( | bool | prefer_dynamic | ) |
Definition at line 1142 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetTypeSystem(), lldb_private::CompilerType::IsValid(), m_dynamic_type, and m_static_type.
TypeImpl TypeImpl::GetUnqualifiedType | ( | ) | const |
Definition at line 1106 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::GetFullyUnqualifiedType(), lldb_private::CompilerType::IsValid(), m_dynamic_type, m_static_type, and TypeImpl().
bool TypeImpl::IsValid | ( | ) | const |
Definition at line 1003 of file Type.cpp.
References CheckModule(), lldb_private::CompilerType::IsValid(), m_dynamic_type, and m_static_type.
Referenced by lldb_private::ValueObjectDynamicValue::GetTypeImpl().
bool TypeImpl::operator== | ( | const TypeImpl & | rhs | ) | const |
Definition at line 994 of file Type.cpp.
References m_dynamic_type, and m_static_type.
void TypeImpl::SetType | ( | const CompilerType & | compiler_type | ) |
Definition at line 939 of file Type.cpp.
References m_module_wp, and m_static_type.
void TypeImpl::SetType | ( | const CompilerType & | compiler_type, |
const CompilerType & | dynamic | ||
) |
Definition at line 950 of file Type.cpp.
References m_dynamic_type, m_module_wp, and m_static_type.
void TypeImpl::SetType | ( | const lldb::TypeSP & | type_sp | ) |
Definition at line 928 of file Type.cpp.
References lldb_private::CompilerType::Clear(), m_exe_module_wp, m_module_wp, and m_static_type.
Referenced by lldb::SBFunction::GetType(), SetType(), and TypeImpl().
void TypeImpl::SetType | ( | const lldb::TypeSP & | type_sp, |
const CompilerType & | dynamic | ||
) |
Definition at line 944 of file Type.cpp.
References m_dynamic_type, and SetType().
|
private |
Definition at line 660 of file Type.h.
Referenced by Clear(), GetCanonicalType(), GetCompilerType(), GetDereferencedType(), GetDescription(), GetDisplayTypeName(), GetName(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTypedefedType(), GetTypeSystem(), GetUnqualifiedType(), IsValid(), operator==(), and SetType().
|
private |
Definition at line 658 of file Type.h.
Referenced by CheckExeModule(), and SetType().
|
private |
Definition at line 657 of file Type.h.
Referenced by CheckModule(), Clear(), and SetType().
|
private |
Definition at line 659 of file Type.h.
Referenced by Clear(), GetCanonicalType(), GetCompilerType(), GetDereferencedType(), GetDescription(), GetDisplayTypeName(), GetName(), GetPointeeType(), GetPointerType(), GetReferenceType(), GetTypedefedType(), GetTypeSystem(), GetUnqualifiedType(), IsValid(), operator==(), and SetType().