[Dwarf-Discuss] DW_AT_default_value reference to "subroutine"

Robinson, Paul Paul_Robinson@playstation.sony.com
Tue Sep 16 20:50:17 GMT 2014


> Paul, could you be more specific about where the 'similar verbiage' is?
> Thanks.
> DavidA.

In DWARF 2, section 4.1 item 8 on p.34.
In DWARF 3, section 4.1 item 9 on p.60.
In DWARF 4, section 4.1 item 9 on p.70.

DWARF 2 did not say the attribute could be a constant; that appeared
in DWARF 3.  Each edition had some editorial massaging that doesn't
affect the semantics; for example the first sentence evolved as follows.

v2: A formal parameter entry describing a formal parameter that has a
    default value may have a DW_AT_default_value attribute.
v3: A formal parameter entry may have a DW_AT_default_value attribute.
v4: A DW_AT_default_value attribute for a formal parameter entry.




More information about the Dwarf-discuss mailing list