[cfe-users] How to dump the vtable's or record's layout?
don hinton via cfe-users
cfe-users at lists.llvm.org
Mon Sep 14 14:24:29 PDT 2015
As per Reid's early response, try adding -emit-llvm-only or -emit-obj.
http://clang-developers.42468.n3.nabble.com/Clang-3-4-fdump-record-layouts-not-producing-any-results-td4036285.html
On Mon, Sep 14, 2015 at 1:27 PM, Yi-Hong Lyu via cfe-users <
cfe-users at lists.llvm.org> wrote:
> Hello all,
>
> I would like to dump the vtable's or record's layout therefore I download
> the binary of Clang 3.7 for Linux from official site. But I got nothing
> with:
>
> $ clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang++ -cc1
> -fdump-vtable-layouts vtable.cpp
>
> or
>
> $ clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang++ -cc1
> -fdump-record-layouts vtable.cpp
>
> I am wondering how to dump vtable's or record's layout? Is there anything
> wrong with my instructions?
>
> Thanks,
> Yi-Hong
>
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20150914/cc2c784f/attachment.html>
More information about the cfe-users
mailing list