-fdump-class-hierarchy (-qdump_class_hierarchy) (C++ only)
Pragma equivalent
None.
Purpose
Dumps a representation of the hierarchy and virtual function table layout of each class object to a file.
Syntax
>>- -f--dump-class-hierarchy-----------------------------------><
>>- -q--dump_class_hierarchy-----------------------------------><
Defaults
Not applicable.
Usage
The output file name consists of the source file name appended with a .class suffix.
Predefined macros
None.
Examples
To compile myprogram.C to
produce a file named myprogram.C.class containing
the class hierarchy information, enter:
xlc++ myprogram.C -fdump-class-hierarchy