Skip to content

A number of debuginfo tests now fail on Windows/GNU and maybe other platforms #53098

Closed
@petrochenkov

Description

@petrochenkov

If I remember correctly, this regression happened after upgrade to LLVM 7 - #51966.

Failing tests on MSYS2's gdb (GNU gdb (GDB) 7.12.1):

[debuginfo-gdb] debuginfo\borrowed-c-style-enum.rs
[debuginfo-gdb] debuginfo\c-style-enum-in-composite.rs
[debuginfo-gdb] debuginfo\generic-enum-with-different-disr-sizes.rs

Failing tests on mingw-w64's gdb from x86_64-7.2.0-posix-seh-rt_v5-rev1 toolchain (GNU gdb (GDB) 8.0.1):

[debuginfo-gdb] debuginfo\borrowed-c-style-enum.rs
[debuginfo-gdb] debuginfo\borrowed-enum.rs
[debuginfo-gdb] debuginfo\c-style-enum-in-composite.rs
[debuginfo-gdb] debuginfo\generic-enum-with-different-disr-sizes.rs
[debuginfo-gdb] debuginfo\generic-struct-style-enum.rs
[debuginfo-gdb] debuginfo\generic-tuple-style-enum.rs
[debuginfo-gdb] debuginfo\struct-style-enum.rs
[debuginfo-gdb] debuginfo\tuple-style-enum.rs
[debuginfo-gdb] debuginfo\unique-enum.rs

For the borrowed-c-style-enum test the failure reason is

error: line not found in debugger output: $1 = borrowed_c_style_enum::ABC::TheA

cc @tromey @michaelwoerister

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