diff options
author | Enrico Granata <egranata@apple.com> | 2014-11-17 23:06:20 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-11-17 23:06:20 +0000 |
commit | 6cd8e0c9b0e3009e6e2e4e2b3df86c00389d2e32 (patch) | |
tree | 3afe0cb933abb70dcb2c3938b9e238e2da18eb9d /lldb/scripts/Python/interface | |
parent | d970702ab3c7bd136b2165a89401fa559967f508 (diff) | |
download | bcm5719-llvm-6cd8e0c9b0e3009e6e2e4e2b3df86c00389d2e32.tar.gz bcm5719-llvm-6cd8e0c9b0e3009e6e2e4e2b3df86c00389d2e32.zip |
Add APIs on SBFunction and SBCompileUnit to inquire about the language type that the function/compile unit is defined in
llvm-svn: 222189
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBCompileUnit.i | 3 | ||||
-rw-r--r-- | lldb/scripts/Python/interface/SBFunction.i | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBCompileUnit.i b/lldb/scripts/Python/interface/SBCompileUnit.i index a7e76cb1183..61477912372 100644 --- a/lldb/scripts/Python/interface/SBCompileUnit.i +++ b/lldb/scripts/Python/interface/SBCompileUnit.i @@ -106,6 +106,9 @@ public: lldb::SBTypeList GetTypes (uint32_t type_mask = lldb::eTypeClassAny); + lldb::LanguageType + GetLanguage (); + bool GetDescription (lldb::SBStream &description); diff --git a/lldb/scripts/Python/interface/SBFunction.i b/lldb/scripts/Python/interface/SBFunction.i index 33cc4481e7b..d3660aff08c 100644 --- a/lldb/scripts/Python/interface/SBFunction.i +++ b/lldb/scripts/Python/interface/SBFunction.i @@ -82,6 +82,9 @@ public: lldb::SBBlock GetBlock (); + + lldb::LanguageType + GetLanguage (); bool GetDescription (lldb::SBStream &description); |