Skip to content

DWARF version is clamped to at most 3 #13611

Closed
@alexcrichton

Description

@alexcrichton

Looks like LLVM is capabable of and is currently emitting dwarf version 4 (after upgrading LLVM to the current master). Our bots don't have a gdb which understands this version of dwarf (they're all on gdb 7.4), but gdb 7.6 does indeed understand this version.

For now I'm going to clamp the emitted version to 3 for all platforms but mac (which is on version 2), but we should in theory do something more graceful.

cc @michaelwoerister
cc #13513

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-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