From 1f4db7da8fa4e3c8e0b7ac9807abc7905675c61f Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 23 Jan 2014 21:38:34 +0000 Subject: Added the ability to get the type that a typedef points to via: SBType SBType::GetTypedefedType(); Also added the ability to get a type by type ID from a SBModule: SBType SBModule::GetTypeByID (lldb::user_id_t uid); llvm-svn: 199939 --- lldb/scripts/Python/interface/SBModule.i | 3 +++ lldb/scripts/Python/interface/SBType.i | 3 +++ 2 files changed, 6 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i index 21f9dcc4055..387a2741e02 100644 --- a/lldb/scripts/Python/interface/SBModule.i +++ b/lldb/scripts/Python/interface/SBModule.i @@ -230,6 +230,9 @@ public: lldb::SBTypeList FindTypes (const char* type); + lldb::SBType + GetTypeByID (lldb::user_id_t uid); + lldb::SBType GetBasicType(lldb::BasicType type); diff --git a/lldb/scripts/Python/interface/SBType.i b/lldb/scripts/Python/interface/SBType.i index fbeed3efd66..936bf2ccf27 100644 --- a/lldb/scripts/Python/interface/SBType.i +++ b/lldb/scripts/Python/interface/SBType.i @@ -177,6 +177,9 @@ public: lldb::SBType GetReferenceType(); + lldb::SBType + SBType::GetTypedefedType(); + lldb::SBType GetDereferencedType(); -- cgit v1.2.3