Skip to content

Devise a way to test debuginfo #2195

Closed
Closed
@brson

Description

@brson
Contributor

Debug info is very prone to breakage. We should come up with a way to test it. Maybe look into how LLVM does it.

Activity

ghost assigned on Apr 12, 2012
brson

brson commented on Apr 12, 2012

@brson
ContributorAuthor

One obvious thing is setting up a debuginfo bot that builds everything with debug info, but we need real debuginfo tests too.

graydon

graydon commented on Apr 16, 2012

@graydon
Contributor

yeah. there are several tools that know how to dump dwarf to text, and gdb can also be driven by batch input as well as embedded python scripts. this should be very possible.

brson

brson commented on Feb 12, 2013

@brson
ContributorAuthor

@bleibig added support to compiletest for driving gdb and interpreting the results. Considering this done, now let's use it!

added a commit that references this issue on Sep 22, 2022

Auto merge of rust-lang#2195 - RalfJung:vtable-validation, r=RalfJung

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

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @graydon@brson

        Issue actions

          Devise a way to test debuginfo · Issue #2195 · rust-lang/rust