On Tue, Dec 3, 2013 at 2:47 PM, L. David Baron <dba...@dbaron.org> wrote:

> On Tuesday 2013-12-03 10:18 -0800, Brian Smith wrote:
> > Also, I would be very interested in seeing "size of libxul.so" for
> > fully-optimized (including PGO, where we normally do PGO) builds. Do
> > unified builds help or hurt libxul size for release builds? Do unified
> > builds help or hurt performance in release builds?
>
> I'd certainly hope that nearly all of the difference in size of
> libxul.so is debugging info that wouldn't be present in a non-debug
> build.  But it's worth testing, because if that's not the case,
> there are some serious improvements that could be made in the C/C++
> toolchain...


Well, not really.  In the case of unified builds, the compiler sees larger
translation units, so it has better opportunity for optimizations such as
inlining, DCE, etc.

--
Ehsan
<http://ehsanakhgari.org/>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to