On Monday, 9 May 2016 at 13:48:50 UTC, Walter Bright wrote:
On 5/9/2016 5:24 AM, Jacob Carlborg wrote:LDC can strip sections which DMD cannot.Why not?
AFAIR, because of how ModuleInfo/TypeInfo is emitted which makes linker never collect sections because they are referenced at least from there. LDC was intentionally modified to change code gen in that regard to make --gc-sections work - David will surely tell more :)
