Open
Description
LLVM 4.0 is shipping with LLD enabled, though AFAIK it is not yet production-ready on all platforms. I believe we've got an LLVM upgrade planned soon to resolve AVR/emscripten problems anyway, so now's the time to start determining what we might need to do to support it, how it impacts compiler performance/binary size/runtime performance compared to our usual linkers, and what platforms on which we might want to enable it by default.
Current status (2020-04-24) summarized at #39915 (comment)
Possible problems:
- LLD has internal parallelism, and is not documented to have jobserver support, which can lead to poor contention resolution in practice