ccoutant / dwarf-locations

2 stars 5 forks source link

Add expression evaluation rules and sections for values and location descriptions #22

Open t-tye opened 1 year ago

t-tye commented 1 year ago

In 004-locations-on-stack.txt:

Suggest also include the creation of "2.5.2 DWARF Expression Value". The text for the section was introduced in 001-clarifications-eval.txt lines 241-271. In that text change "A value on the stack has a type and a literal value." to "A value has a type and a literal value." as this section is now just defining what values are.

Rename "2.6 Location Descriptions" to "2.5.3 DWARF Location Description" to match "2.5.2 DWARF Expression Value".

Add "2.5.4 DWARF Operation Expressions" and move the text from 001-clarifications-eval.txt line 279-354 to this section. Add the other text for that section from the proposal. Most of the operation expression definition is only valid for location descriptions on the stack.