WinDbg does not understand niche-layout enums #84671
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
WinDbg does not understand niche-layout enums and the information provided is not very useful unless you understand how niche-layout works. Even then, aside from simple cases like the
0
niche for references, it can be non-trivial to decode what variant of the enum is active when either the niche is not 0 or the enum contains multiple tag only variants, not just one likeOption
does.Having the debuginfo more like the direct-tag layout case would help.
The text was updated successfully, but these errors were encountered: