[Dwarf-Discuss] Issue 100805.1 dynamic properties of types: reference interpretation

Mark Wielaard mjw at redhat.com
Fri Mar 28 14:15:36 PDT 2014


Hi,

The proposed DWARF5 suggestion "dynamic properties of types: reference
interpretation" http://dwarfstd.org/ShowIssue.php?issue=100805.1 says:

        Accepted with modification -- Sept. 18, 2012
        
        The second bullet in Section 2.19, pg. 40, reads as follows:
        
          - For a reference, the value is a reference to another
            entity which specifies the value of the attribute.
        
        Revised text:
        
          - For a reference, the value is a DWARF procedure that computes
            the attribute value".

I always assumed that the original text referred to a the value of a
Data Object Entry (given by its DW_AT_location or DW_AT_const_value).

The clarification says it refers to DWARF procedures. Which are defined
(in 2.16) as only those Data Objects that have a DW_AT_location.

Which would mean Data Object Entries whose value are given by a
DW_AT_const_value are not legal reference targets.

Was that the intention of the clarification?

Thanks,

Mark




More information about the Dwarf-Discuss mailing list