Skip to content

debuginfo: CodeView stationary locals (S_LOCAL + single-range S_DEFRANGE) #1712

Description

@octalide

What

Emit S_LOCAL + a single-range S_DEFRANGE_* (framepointer-relative / register) per stationary local, read from the OP_DBG_VALUE entity. Register encodings come from the CV_AMD64_* table in #1693.

Why

Stationary locals for Windows — the CodeView analogue of #1704. Reuses the format-independent variable identity unchanged; only the encoding differs, and CV register numbers come from the shared per-ISA table.

Acceptance

  • WinDbg/VS shows correct values for stationary locals/params on a simple -g program (correct CV register/frame encodings).

Depends-on: #1711, #1695, #1693.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:codegenIR/middle-end, isel, regalloc, frame, encoders, inline asmfeaturenew capability, or an extension of an existing onetarget:windowsWindows-specific behavior or work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions