Skip to content

Tracking Issue for defaulting to DWARF 5 format #75890

@LifeIsStrange

Description

@LifeIsStrange

https://www.phoronix.com/scan.php?page=news_item&px=GCC-11-DWARF-5-Possible-Default
GCC 11 will enable DWARF 5 by default.
LLVM supports should be good as many backends already enable DWARF 5 by default, such as amdgpu or fuschia.

What are the blockers if any?
I don't think there is a flag to even enable it in an opt-in manner currently?

I think this could be a great improvement to rust as it could affect debug binaries performance, size and even correctness/allow things that weren't possible before, thus enabling future lldb/Gdb features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions