ccoutant / dwarf-locations

2 stars 5 forks source link

DWARF Operation Expressions #24

Closed t-tye closed 1 year ago

t-tye commented 1 year ago

In 004-locations-on-stack.txt:

Delete the text from 2.5:

"A DWARF expression is encoded as a stream of operations, each consisting of an opcode followed by zero or more literal operands. The number of operands is implied by the opcode."

Do the changes on lines 15-31 result in:

2.5.4 DWARF Operation Expressions

An operation expression is comprised of a stream of operations, each consisting of an opcode followed by zero or more operands. The number of operands is implied by the opcode.

Operations represent a postfix operation on a simple stack machine. Each stack entry can hold either a value or a location description. Operations can act on entries on the stack...