Skip to content

Rust now emits with a new PDB language identifier, breaking debugging on Windows #633

Description

@arlosi

Rust now has a dedicated language identifier in the PDB format, instead of emitting as Masm.
https://reviews.llvm.org/D115300

This broke CodeLLDB's ability to debug binaries produced by the latest Rust compiler on Windows:
rust-lang/rust#93624

I see that CodeLLDB is using a patched LLVM that detects Masm as potentially Rust code via this vadimcn/llvm-project@4aba5a4 commit. Can we update the patch to also detect Rust (0x15) as Rust code ?

Let me know if I can help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions