[Issue 15130] dmd emits huge data for zero initialized struct
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jul 3 11:54:10 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=15130
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dlang-bugzilla at thecybershad
| |ow.net
--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
2.053 and earlier (before https://github.com/dlang/dmd/pull/605), nm -S output
looked like this:
0000000000000000 t
U _D15TypeInfo_Struct6__vtblZ
0000000000000000 0000000000000008 V _D22TypeInfo_S4test6Buffer6__initZ
0000000000000000 D _D4test12__ModuleInfoZ
0000000000000000 R _D4test6Buffer6__initZ
U _Dmodule_ref
However, the object file is still over 64K in size.
--
More information about the Digitalmars-d-bugs
mailing list