| United States-English |
|
|
|
![]() |
HP C/HP-UX Reference Manual: HP-UX Systems > Chapter 12 The
Listing Facility Listing Options |
|
Two compiler options are provided to write additional information to the listing. The +m option is used to generate identifier maps. The +o option is used to generate code offsets. When the +m option is specified, the compiler produces a series of identifier maps, grouped by function. The map shows the declared identifiers, their storage class, type, and address or constant value. The first column of the map lists, in alphabetical order, the initial 20 characters of all the identifiers declared in the function. Member names of structures and unions appear indented under the structure or union name. The second column displays the storage class of each identifier. The compiler distinguishes the following storage classes: auto external definition static The third column shows the type of the identifier. The types include: array int unsigned char The fourth column indicates the relative register location of an identifier. Members of a union type are in the form W @ B, where W is the byte offset and B is the bit offset within the word. Both offsets are given in hexadecimal notation. Example main() G L O B A L I D E N T I F I E R M A P L O C A L I D E N T I F I E R M A P S When the +o option is specified, the compiler produces a series of the code offsets for each executable statement, grouped by function. Source line numbers are given in decimal notation followed by the associated code address specified in hexadecimal notation. The code address is relative to the beginning of the function. main() C O D E O F F S E T S |
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||