Skip to content

Removal of block spans from trans has ruined lexical block debug info #1694

@jdm

Description

@jdm

debuginfo was relying on block-level spans to generate proper location information. Now arbitrary non-block spans are being passed instead, causing a proliferation of fake blocks to be created and cached (slowing down debug compilation time by >10x), as well as incorrect debuginfo generation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions