Now with the same change for cmake too.

On Thu, Dec 26, 2013 at 8:50 PM, Nico Weber <[email protected]> wrote:

> 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.
>

Attachment: clangformat.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to