Re: Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce

On Thursday, 10 November 2016 at 16:23:03 UTC, Dicebot wrote:


Does that mean that cross-module/cross-package inlining with 
separate compilation now works?


When all is compiled with `-flto=...`, yes.

-Johan



Re: Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 10 November 2016 at 16:20:33 UTC, Johan Engelen 
wrote:

Hi all,
 Yesterday I merged LTO capability into LDC.
Here a short article about it:
https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html


And the reddit thread:
https://www.reddit.com/r/programming/comments/5c8p58/link_time_optimization_cd_crosslanguage/


Re: Link Time Optimization in LDC

2016-11-10 Thread Dicebot via Digitalmars-d-announce
On Thursday, 10 November 2016 at 16:20:33 UTC, Johan Engelen 
wrote:

Hi all,
 Yesterday I merged LTO capability into LDC.
Here a short article about it:
https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html

For the folks building LDC themselves: let me know your issues 
:)


cheers,
  Johan


Does that mean that cross-module/cross-package inlining with 
separate compilation now works?