Hi, the attached patch turns on link-time dead code stripping for clang-format, with the configure/make build. This reduces the size of clang-format from 13MB to 1.6MB.
Ok? Nico ps: The equivalent on linux is I think compiling with -ffunction-sections -fdata-sections and linking with -Wl,-gc-sections, but I don't have access to a linux box to try this at the moment.
clangformat.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
