On 10/03/2021 10:34, LacaK via fpc-pascal wrote: > 1. I did not notice difference between A and B (it seems like WPO did > not reduce size of EXE (may be that I do something wrong)) > 1.1 is there way how I can check which procedures were striped out or > vice-versa included?
You can generate link maps (-Xm) and compare those. > 2. Is smart-linking/WPO capable to remove unused: > 2.1 regular procedures/functions ? > 2.2 methods of classes (non virtual, virtual) ? > 2.3 class methods of classes ? Smartlinking can remove any non-referenced non-virtual methods, global variables, and regular procedures/functions. Regarding what WPO can do, see https://wiki.freepascal.org/Whole_Program_Optimization Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal