[patch] Add CLANG_IS_PRODUCTION option to the cmake build

Chandler Carruth chandlerc at google.com
Fri Mar 7 17:16:17 PST 2014


Fair enough. Maybe we should call it something more like
CLANG_PLUGIN_SUPPORT and just default it the other way. Feel free to commit
with whatever you like, can review it afterward.


On Fri, Mar 7, 2014 at 5:14 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140307/331f4363/attachment.html>


More information about the cfe-commits mailing list