www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Link Time Optimization in LDC

reply Johan Engelen <j j.nl> writes:
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
Nov 10 2016
next sibling parent reply Dicebot <public dicebot.lv> writes:
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?
Nov 10 2016
parent Johan Engelen <j j.nl> writes:
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
Nov 10 2016
prev sibling parent Johan Engelen <j j.nl> writes:
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/
Nov 10 2016