Skip to content

Line number debug info is broken #15567

@vadimcn

Description

@vadimcn

Lately, it has been impossible to step through Rust source line by line, because GDB cannot find line number debug info.

As far as I can tell, the issue is in LLVM, but only if DWARF-3 version is used. DWARF-4 appears to work fine, so the workaround is to compile with -g -C llvm-args="-dwarf-version 4"

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions