Binary Size: function-sections, data-sections, etc.

Kagamin spam at here.lot
Wed Dec 21 01:01:26 PST 2011


> The one potential problematic case i mentioned in that gdc bug 
> mentioned above is this:
> If the D runtime (most likely GC) needs to know the start/end 
> of the data and bss
> sections _and_ does it in a way that can confuse it if some 
> unreferenced parts of these
> sections disappear and/or are reordered, then turning on the 
> section GC could uncover
> this bug. From the few simple tests i ran here everything seems 
> to work fine, but I did
> not check the code to confirm there are no incorrect 
> assumptions present.

The first things to break are module ctors and unittests.


More information about the Digitalmars-d mailing list