[cfe-dev] Can we make libcxx headers more modular for faster compilation?

Nico Weber thakis at chromium.org
Wed Oct 2 15:09:23 PDT 2013


On Wed, Oct 2, 2013 at 2:36 PM, Jean-Daniel Dupas <devlists at shadowlab.org>wrote:

> support.h includes windows.h on win32 platform.
> Does libstdc++ also include windows.h. I think this single include may be
> enough to explain the difference.
>

It's a problem on Mac (and probably Linux) as well,
http://llvm.org/PR14587, so maybe it's not just windows.h.

Looking forward to modules!


>
>
> Le 2 oct. 2013 à 22:19, Yaron Keren <yaron.keren at gmail.com> a écrit :
>
> Thanks, I see that now. It wasn't trivial for me...
>
> How can we understand why compiling the trivial program with libcxx is 3x
> slower vs with libstcd++ ?
>
> Yaron
>
>
>
> 2013/10/2 Joerg Sonnenberger <joerg at britannica.bec.de>
>
>> On Wed, Oct 02, 2013 at 06:45:06PM +0300, Yaron Keren wrote:
>> > Joerg, I am ashmed to admit I have re-read the code and still can not
>> > understand how basic_string uses tuple. How basic_string uses tuple?
>>
>> basic_string -> __compressed_pair -> __libcpp_compressed_pair_imp
>> -> tuple.
>>
>> Joerg
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
> -- Jean-Daniel
>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131002/24bef7d7/attachment.html>


More information about the cfe-dev mailing list