Skip to content

Improve core::ptr::drop_in_place debuginfo #77465

Closed
@bjorn3

Description

@bjorn3
Member
  • Use span of the dropped type as function span when possible.
  • Rename symbol from core::ptr::drop_in_place::<hash> to something like <drop TypeName>::<hash>.

Activity

added
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)
C-enhancementCategory: An issue proposing an enhancement or a PR with one.
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
on Oct 2, 2020
tmiasko

tmiasko commented on Oct 6, 2020

@tmiasko
Contributor

The v0 mangling includes information about generic parameters, e.g., core::ptr::drop_in_place::<alloc::string::String>.

added 2 commits that reference this issue on Jan 10, 2021

Rollup merge of rust-lang#79968 - bjorn3:better_drop_glue_debuginfo, …

36d8242

Rollup merge of rust-lang#79968 - bjorn3:better_drop_glue_debuginfo, …

f90c7f0
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.)C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jonas-schievink@bjorn3@tmiasko

      Issue actions

        Improve core::ptr::drop_in_place debuginfo · Issue #77465 · rust-lang/rust