I believe all three linkers (bfd, gold and lld) can currently do LTO
on LLVM bitcode. Naively I'd assume getting cross-compilation-unit
optimization combining rust and clang compile units is more of a build
system issue than a linker one.

-Jeff

On Mon, Aug 14, 2017 at 2:16 AM, Henri Sivonen <hsivo...@hsivonen.fi> wrote:
> On Mon, Aug 14, 2017 at 12:08 AM, Sylvestre Ledru <sylves...@mozilla.com> 
> wrote:
>> Thanks to bug https://bugzilla.mozilla.org/show_bug.cgi?id=1336978, it
>> is now possible to link with LLD (the linker from the LLVM toolchain)
>> on Linux instead of bfd or gold.
>
> Great news. Thank you!
>
> Does this enable lld to ingest object files that contain LLVM bitcode
> instead of target machine code and to perform cross-compilation-unit
> optimization? How far are we from cross-compilation-unit optimization
> when some compilation units come from clang and some from rustc?
>
> --
> Henri Sivonen
> hsivo...@hsivonen.fi
> https://hsivonen.fi/
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to