ATTRIBUTE | NOATTRIBUTE (C++ only)

Category

Listings, messages, and compiler information

Pragma equivalent

None.

Purpose

Produces a compiler listing that includes the attribute component of the attribute and cross-reference section of the listing.

Syntax

Read syntax diagramSkip visual syntax diagramNOATTATT(FULL)

Defaults

NOATTRIBUTE

In the z/OS® UNIX System Services environment, this option is turned on by specifying -V when using the cxx command.

Parameters

FULL
The ATTRIBUTE(FULL) option produces a listing of all identifiers that are found in your code, even those that are not referenced.

IPA effects

During the IPA compile step, the compiler saves symbol storage offset information in the IPA object file as follows:
  • For C, if you specify the XREF, IPA(ATTRIBUTE), or IPA(XREF) options or the #pragma options(XREF)
  • For C++, if you specify the ATTR, XREF, IPA(ATTRIBUTE), or IPA(XREF) options

If regular object code/data is produced using the IPA(OBJECT) option, the cross-reference sections of the compile listing will be controlled by the ATTR and XREF options.

If you specify the ATTR or XREF options for the IPA link step, it generates External Symbol Cross Reference and Static Map listing sections for each partition.

The IPA link step creates a Storage Offset listing section if during the IPA compile step you requested the additional symbol storage offset information for your IPA objects.

Predefined macros

None.