Option Type | Default Value | #pragma options | C | C++ |
-qoption | noxref | XREF | x | x |
Syntax
-qxref | -qnoxref XREF | NOXREF
Purpose
Produces a compiler listing that includes a cross-reference
listing of all identifiers.
Notes
Usage modes for xref are:
-qxref=full Reports all identifiers in the program. -qxref Reports only those identifiers that are used.
The noprint 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
A typical cross-reference listing has the form:
List of Compiler Options and Their
Defaults
Options that Specify Compiler Output