[cfe-dev] Clang++ 3.4 -fdump-record-layouts not producing any results?

Dun Peal dunpealer at gmail.com
Mon Nov 25 13:44:41 PST 2013


I'm trying to dump the record layout on Xubuntu 13.04, using official APT
binaries for latest stable 3.4. Unfortunately, it doesn't seem to produce
any results, as you can see from the following trivial example. Am I doing
it wrong?

$ cat test.cc
class Tester {
    int foo;
};

int main() {
    Tester test;
    return 0;
}
$ clang -cc1 -v -fdump-record-layouts test.cc
clang -cc1 version 3.4 based upon LLVM 3.4 default target
x86_64-pc-linux-gnu
#include "..." search starts here:
End of search list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131125/2a628cdc/attachment.html>


More information about the cfe-dev mailing list