[LLVMdev] Any mechanism available for link time inlineing?

Tim Northover t.p.northover at gmail.com
Sat Feb 14 20:36:14 PST 2015


> LLVM LTO is available by default with Apple's XCode development environment,
> just specify -O4.

I'm not sure exactly what -O4 does these days, but it's not the
suggested way of doing LTO. For that you should pass "-flto" with a
more normal optimisation level.

Cheers.

Tim.



More information about the llvm-dev mailing list