[cfe-dev] [llvm-dev] Why do we static link all llvm libraries in every executable?
Yury Gribov via cfe-dev
cfe-dev at lists.llvm.org
Wed Jan 27 04:20:06 PST 2016
On 01/27/2016 03:09 PM, Joerg Sonnenberger via cfe-dev wrote:
> On Wed, Jan 27, 2016 at 09:21:33AM +0000, David Chisnall via cfe-dev wrote:
>> On 26 Jan 2016, at 21:32, Yin Ma via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>>>
>>> 10x slower..on Linux? If we limit the number of global symbols exposed, it will
>>> help the situation?
>>
>> 10x slower seems like an exaggeration.
>
> Test program is just "int main(void) { return 0; }":
>
> Monolithic clang as used by NetBSD's cross build system: 0.008s
> Shared clang using normal cmake build: 0.139s
>
> Both optimised builds with asserts enabled.
Just curious, was this HDD or SSD?
> Joerg
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list