Extracting object layout of ALL classes

Hi everyone,

I've been looking for a way to extract object layout of all classes defined in a preprocessed file. I've stumbled upon the parameter "-fdump-record-layouts", which appears to do exactly what I want, but it doesn't seem to process every struct/class I define. Specifically, if I run the command "clang -cc1 -fdump-record-layouts test.cpp" on the following 3 files: