Issue 260331.1: Reorder sections in Chapter 3

Author: Ben Woodard
Champion:
Date submitted: 2026-03-31
Date revised: 2026-09-23
Date closed: 2026-09-23
Type: Editorial
Status: Accepted
DWARF version: 6

DISCUSSION

When 260127.1 was under final discussion, it became apparent that there was no conceptual order to the sections in Chapter 3 of the DWARF standard. This proposal reorganizes the sections into a logical hierarchy.

Conceptual grouping for reference:

Basic mechanics of DWARF expressions

Location creation group

Operations on locations

Special and miscellaneous operations

PROPOSAL

Rearrange Chapter 3, "DWARF Expressions", as follows:

Key updates incorporated into this revision:

The DW_OP_extended operation is pure representation, and should not be covered in Chapter 3. Instead, move its description to Section 8.7.1, "Operator Encodings".


2026-09-14: Revised based on email feedback. Normalized section titles; moved DW_OP_nop to stack operations section; moved DW_OP_entry_value and extended operations to their own sections; removed "Special Operations" section.

2026-09-14: Accepted with minor changes (replace "Extension Operations" with "Producer-Defined Operations"; move DW_OP_extended to Chapter 8).

2026-09-23: Updated to reflect changes from 9/14/26 meeting.