[llvm-dev] (Thin)LTO llvm build

Carsten Mattner via llvm-dev llvm-dev at lists.llvm.org
Sun Sep 11 10:00:18 PDT 2016

On Sun, Sep 11, 2016 at 12:42 AM, Mehdi Amini <mehdi.amini at apple.com> wrote:

> Supporting Plugin implies that every function has to available, even if
> inlined everywhere they can’t be dead-stripped. Because the plugin may call
> into it.
> Disabling plugin allows to remove all this dead code.

That makes sense, thanks.

> I’m just saying, it depends what you’re measuring: what matters is the final
> binary usually, not the size of the intermediate files.

I had only measured the size of the installed tree and assumed any
stripping that might happen would be the same as with LTO=OFF.

Let's see if I can get ThinLTO+No_PLUGINS to build and the results of
that. Might take a while.

More information about the llvm-dev mailing list