From d8c3d4b1e9f8695a9c063615a324cb105c9ab780 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 19 Jun 2013 21:50:28 +0000 Subject: 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 --- lldb/scripts/Python/interface/SBType.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/scripts/Python/interface') 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(); -- cgit v1.2.3