[cfe-users] optimize template-heavy project with duplicate code removal
chen xu via cfe-users
cfe-users at lists.llvm.org
Wed Sep 23 16:43:01 PDT 2015
Hi, our project heavily uses c++ template, and the resulting executable is almost 1.5G Bytes, which is too big to be acceptable. Adding -O2 or -Os does not seem helping. Is there any way (like link option, etc) to reduce the size?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20150923/c878f087/attachment.html>
More information about the cfe-users
mailing list