[cfe-dev] [llvm-dev] Why do we static link all llvm libraries in every executable?
Joerg Sonnenberger via cfe-dev
cfe-dev at lists.llvm.org
Wed Jan 27 06:06:56 PST 2016
On Wed, Jan 27, 2016 at 03:20:06PM +0300, Yury Gribov via cfe-dev wrote:
> 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?
SSD, but pretty much irrelevant due to a hot cache.
Joerg
More information about the cfe-dev
mailing list