Visual C++ Compiler Option To Dump Class Hierarchy -


Is there a compiler option equivalent to the MS Visual C ++ GCC -fdump-class-hierarchy? That is, virtual function showing table layouts.

Try

cl.exe / d1reportAllClassLayout Test.cpp

The output is something like this:

 class request _handler asset size (8): + --- 0 | Name 4 SDL + - The size of the square perfmon feature (8): + --- 0 | Name 4 Register | (Size = 3) + --- 

is doing: + findstr / i class c1xx.dll> c1xx.txt
+ and then manually inspecting c1xx.txt

Hope it can help, Benedetto

PS: This is clearly a typing and unsupported switch
See also for a similar switch.


Comments

Post a Comment

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -