Skip to content

JIT: emit debug info for untracked locals when optimizing #11255

Open
@AndyAyersMS

Description

@AndyAyersMS

Per notes in #11239 -- when the jit is optimizing it relies on liveness to drive user var debug info emission. But since untracked user vars don't have liveness they do produce any debug representation.

Seems like a better optimized code debug experience could be offered by emitting these untracked user vars as live throughout the method. VS2017 looks like it does a decent job of trimming down over-reported live scopes to relevant code ranges.

category:implementation
theme:debug-info
skill-level:intermediate
cost:medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    JitUntriagedCLR JIT issues needing additional triagearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions