-qdump_class_hierarchy (C++ only)

Category

Listings, messages, and compiler information

Pragma equivalent

None.

Purpose

Dumps a representation of the hierarchy and virtual function table layout of each class object to a file.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -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 -qdump_class_hierarchy