[patch] Add CLANG_IS_PRODUCTION option to the cmake build

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Mar 7 17:14:00 PST 2014


On 7 March 2014 20:11, Chandler Carruth <chandlerc at google.com> wrote:
> I thought this config was no longer important / useful and was just going to
> go away at some point?

I use it when bootstrapping. It takes more than 2 megabytes away from
the main binary. It also removes export_dynamic, which means that with
LTO the only preserved symbol is main. I found this converting my
bootstrap scripts from configure to cmake.

Cheers,
Rafael



More information about the cfe-commits mailing list