summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-01-23 21:38:34 +0000
committerGreg Clayton <gclayton@apple.com>2014-01-23 21:38:34 +0000
commit1f4db7da8fa4e3c8e0b7ac9807abc7905675c61f (patch)
treef653e8e793a10b715e4755ff491e2c434f553358 /lldb/scripts/Python/interface
parentb1ce33379a847a0b5257a03560d96a4158f1edf8 (diff)
downloadbcm5719-llvm-1f4db7da8fa4e3c8e0b7ac9807abc7905675c61f.tar.gz
bcm5719-llvm-1f4db7da8fa4e3c8e0b7ac9807abc7905675c61f.zip
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
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBModule.i3
-rw-r--r--lldb/scripts/Python/interface/SBType.i3
2 files changed, 6 insertions, 0 deletions
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
@@ -231,6 +231,9 @@ public:
FindTypes (const char* type);
lldb::SBType
+ GetTypeByID (lldb::user_id_t uid);
+
+ lldb::SBType
GetBasicType(lldb::BasicType type);
%feature("docstring", "
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
@@ -178,6 +178,9 @@ public:
GetReferenceType();
lldb::SBType
+ SBType::GetTypedefedType();
+
+ lldb::SBType
GetDereferencedType();
lldb::SBType
OpenPOWER on IntegriCloud