9d21d3d72d
So that languages such as C++ can have its inheritance concepts covered, example: [acme@newtoy examples]$ pahole qsettings.o QSettingsPrivate /* io/qsettings_p.h:159 */ class QSettingsPrivate { class QObjectPrivate; /* ancestor class */ /* 0 0 */ /* XXX 56 bytes hole, try to pack */ /* --- cacheline 1 boundary (32 bytes) was 24 bytes ago --- */ class QStack<QSettingsGroup> groupStack; /* 56 4 */ class QString groupPrefix; /* 60 4 */ /* --- cacheline 2 boundary (64 bytes) --- */ int spec; /* 64 4 */ bool fallbacks; /* 68 1 */ bool pendingChanges; /* 69 1 */ /* XXX 2 bytes hole, try to pack */ enum Status status; /* 72 4 */ }; /* size: 76, cachelines: 3 */ /* sum members: 18, holes: 2, sum holes: 58 */ /* last cacheline: 12 bytes */ Nevermind about the "/* XXX 56 bytes hole, try to pack */" and sizeof(class QObjectPrivate) being zero, its just gcc compressing the DWARF tags avoiding including definitions that are not used in this specific object file, i.e. there are not accesses to 'class QObjectPrivate' members. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> |
||
---|---|---|
Makefile | ||
classes.c | ||
classes.h | ||
codiff.c | ||
list.h | ||
pahole.c | ||
pfunct.c | ||
prefcnt.c |