#pragma options [no]xref
Produces a compiler listing that includes the cross-reference component of the attribute and cross-reference section of the listing.
When xref is in effect, a listing file is generated with a .lst suffix for each source file named on the command line. For details of the contents of the listing file, see Compiler listings.
.-noxref------------. >>- -q--+-xref--+---------+-+---------------------------------->< '-=--full-'
-qnoxref
A typical cross-reference listing has the form:
Character | Meaning |
---|---|
X | Function is declared. |
Y | Function is defined. |
Z | Function is called. |
$ | Type is defined, variable is declared/defined. |
# | Variable is assigned to. |
& | Variable is defined and initialized. |
[blank] | Identifier is referenced. |
The -qnoprint option overrides this option.
Any function defined with the #pragma mc_func directive is listed as being defined on the line of the pragma directive.
None.
xlc myprogram.c -qxref=full