DWARF omits typedef #32575
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm using rustc from the Fedora COPR:
Consider this program:
I compile this with
-g
and then look for the typeXty
in the DWARF using readelf. It isn't there:If I examine the type of
AA
, it ends up here:That is, the typedef has been dropped.
The text was updated successfully, but these errors were encountered: