-qxref

Description

Produces a compiler listing that includes a cross-reference listing of all identifiers.

Syntax

Read syntax diagramSkip visual syntax diagram        .-noxref----------.
>>- -q--+-xref--+-------+-+------------------------------------><
                '-=full-'

where:

noxref Do not report identifiers in the program.
xref Reports only those identifiers that are used.
xref=full Reports all identifiers in the program.

See also #pragma options.

Notes

The -qnoprint option overrides this option.

Any function defined with the #pragma mc_func function_name directive is listed as being defined on the line of the #pragma directive.

Example

To compile myprogram.C and produce a cross-reference listing of all identifiers whether they are used or not, enter:

xlc++ myprogram.C -qxref=full -qattr

A typical cross-reference listing has the form:

Related information