[cfe-dev] Crash in Clang 3.3

Tim Northover t.p.northover at gmail.com
Fri Sep 27 00:10:15 PDT 2013


> Is there any down side in using LTO (ie. using -emit-llvm on compile)? I'm
> guessing not, but...

Well, the official way to use LTO is with "-flto". -emit-llvm is more
of a debugging flag that just happens to send code through the LTO
path by coincidence.

Anyway, for disadvantages: LTO compiles will probably take longer and
use more memory (possibly lots). Problems could be harder to track
down. But it does give rather impressive speedups from what I've
heard.

Cheers.

Tim.



More information about the cfe-dev mailing list