[cfe-dev] Crash in Clang 3.3
Fil Mackay
fil at pobox.com
Fri Sep 27 00:15:04 PDT 2013
On Fri, Sep 27, 2013 at 5:10 PM, Tim Northover <t.p.northover at gmail.com>wrote:
> > 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.
>
Thanks for the clarification. So it sounds like -flto could be a good
release build flag? This would be on the clang++ compile command, not
needed on the link?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130927/f927aacb/attachment.html>
More information about the cfe-dev
mailing list