type level debuginfo is duplicated across codegen units #136059
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
I-heavy
Issue: Problems and improvements with respect to binary size of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
RunTimeEndian
only appears once in the debuginfo.Instead, this happened:
RunTimeEndian
appears twice:Note that the original (non-minimized) example was much worse; the
correctness
integration test foraddr2line
has this duplicated 59 times.cc #129722, #115455. this is not the same as either of those because it only appears across codegen units (AFAICT).
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: