[PATCH] D51340: Add /Zc:DllexportInlines option to clang-cl

Takuto Ikuta via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 24 19:51:38 PDT 2018


takuto.ikuta added a comment.

In https://reviews.llvm.org/D51340#1243453, @hans wrote:

> In https://reviews.llvm.org/D51340#1243331, @takuto.ikuta wrote:
>
> > Ping?
> >
> > This patch reduced obj size largely, and I expect this makes distributed build (like goma) faster by reducing data transferred on network.
>
>
> I'll try to look at it this week.
>
> Have you confirmed on some Chromium file, e.g. stroke_opacity_custom.cc (go/stroke-opactity-custom) that the number of functions that we codegen decreases as expected? I'd expect this to save a lot of compile time.


Yes, stroke_opacity_custom.obj export 18 symbols, reduced from 781 in PCH build, compile time is reduced from 8.2 seconds to 6.7 seconds.


https://reviews.llvm.org/D51340





More information about the cfe-commits mailing list