[LLVMdev] Any mechanism available for link time inlineing?

Tim Northover
Sun, 15 Feb 2015 04:36:14 -0000

> 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.