Strip Unused Symbols Ldc + Windows

kinke noone at nowhere.com
Sat Mar 21 18:01:55 UTC 2020


On Saturday, 21 March 2020 at 17:33:21 UTC, SrMordred wrote:
> Hmm, ok, my question is in fact relate to this kind of thing:
> https://godbolt.org/z/NGjyyx
>
> Why int example.add(int, int): its still on the binary when all 
> u need is alredy optimized to
> main:
>  mov     eax, 30
>  ret
>
> ?

You're inspecting an object file, before any linker and symbol 
stripping is involved.


More information about the Digitalmars-d-learn mailing list