Skip to content

A -ddump-* flag to dump memory representation of data types.

I'm regularly asked, or asking myself what is the memory layout of various datatypes

So I a request a feature that GHC should be able to dump the memory representations for the datatypes, so such arguments would have a definitive answers, and not people trying to reverse engineer GHC.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information