SPRU514Z July 2001 – October 2023 SM320F28335-EP
The --gen_cross_reference_listing option generates a cross-reference listing file that contains reference information for each identifier in the source file. The listing file describes where each symbol is referenced and defined.
A cross-reference listing file with a .crl extension is generated for every source file. The files have the same name as their corresponding source file. (The --gen_cross_reference_listing option is separate from --asm_cross_reference_listing, which is an assembler rather than a compiler option.)
The information in the cross-reference listing file is displayed in the following format:
sym-id nameX filenameline number column number
sym-id | An integer uniquely assigned to each identifier | |
name | The identifier name | |
X | One of the following values: | |
D | Definition | |
d | Declaration (not a definition) | |
M | Modification | |
A | Address taken | |
U | Used | |
C | Changed (used and modified in a single operation) | |
R | Any other kind of reference | |
E | Error; reference is indeterminate | |
filename | The source file | |
line number | The line number in the source file | |
column number | The column number in the source file |