diff options
author | Greg Clayton <gclayton@apple.com> | 2013-06-19 21:50:28 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-06-19 21:50:28 +0000 |
commit | d8c3d4b1e9f8695a9c063615a324cb105c9ab780 (patch) | |
tree | cd14cf1ec62a3ee6215f7f1e8bab6cb0af9c9daf /lldb/scripts/Python/interface | |
parent | 6d2cfb80ba239ed47d962d7dd2487c168082c531 (diff) | |
download | bcm5719-llvm-d8c3d4b1e9f8695a9c063615a324cb105c9ab780.tar.gz bcm5719-llvm-d8c3d4b1e9f8695a9c063615a324cb105c9ab780.zip |
Implemented a types.py module that allows types to be inspected for padding.
The script was able to point out and save 40 bytes in each lldb_private::Section by being very careful where we need to have virtual destructors and also by re-ordering members.
llvm-svn: 184364
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBType.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBType.i b/lldb/scripts/Python/interface/SBType.i index c4d40f76091..fbeed3efd66 100644 --- a/lldb/scripts/Python/interface/SBType.i +++ b/lldb/scripts/Python/interface/SBType.i @@ -165,6 +165,9 @@ public: bool IsFunctionType (); + bool + IsPolymorphicClass (); + lldb::SBType GetPointerType(); |