How to use the LLD linker to link llvm/clang/lld?


If I understand the phrase "lld can self host on x86-64 Linux" from
the LLD home page properly, we can link llvm/clang/lld using lld
itself. How that can be done? Are there any ways to tell the Clang
driver to use the LLD or the only approach is to run the LLD
explicitly "by hand" with a large set of arguments?

I make a symlink to lld named ld in a directory then add that to the
front of PATH. Then configure and build.

- Michael Spencer

So easy? :slight_smile: Thanks a lot.