DWARF Standard


100416.1 Jan Kratochvil Static and Dynamic Values unclear reference+exprloc Clarification Accepted

Section 2.19, pg 40
[Dwarf-Discuss] Attribute as reference uses target DIE value or address?

# - For a reference, the value is a reference to another entity which specifies
# the value of the attribute.

It could more clearly state if only DW_TAG_variable (or also DW_TAG_constant and 
others?) could be referenced and if its read out value (and not the location) gets 
used as the attribute value.

# - For an exprloc, the value is interpreted as a DWARF expression or location
# description; evaluation of the expression yields the value of the attribute.

It should omit "or location description".


Second proposed change accepted.

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2007-2017 by DWARF Standards Committee.